[umbrello] [Bug 373308] Connection between activity and pin does not end on pin

Ralf Habacker bugzilla_noreply at kde.org
Tue Dec 6 16:39:37 UTC 2016


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

Ralf Habacker <ralf.habacker at freenet.de> changed:

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

--- Comment #1 from Ralf Habacker <ralf.habacker at 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 the assignee for the bug.


More information about the umbrello-devel mailing list