https://bugs.kde.org/show_bug.cgi?id=373308

Ralf Habacker <ralf.habac...@freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.20.80 (KDE Applications   |Git
                   |16.11.80)                   |

--- Comment #1 from Ralf Habacker <ralf.habac...@freenet.de> ---
My initial estimation of the related commit was wrong. Retesting on another
machine shows that this happens on git master branch. The related commit is
703b25a024380dcb81895c9700c3a8d4d72cfb74 which adds pin and ports as
QGraphicsItem child to the component or activity widget. My guess of the root
cause is that fetching the position of the child widget with pos() returns the
position relativ to the parent item. So fix this on the related locations it is
required to use QGraphicsItem::scenePos() instead for example instead
widget->x() it is required to use widget->scenePos().x()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to