Bug 418397 - On sequence diagrams no display of a selected object widget on the corresponding line
Summary: On sequence diagrams no display of a selected object widget on the correspond...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.30.2 (KDE releases 19.12.2)
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 11:19 UTC by Ralf Habacker
Modified: 2020-03-25 12:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.30.80 (KDE releases 20.03.80)
Sentry Crash Report:


Attachments
test case (10.78 KB, application/x-uml)
2020-03-02 11:19 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2020-03-02 11:19:41 UTC
Created attachment 126544 [details]
test case

STEPS TO REPRODUCE
1. start umbrello
2. open appended file
3. open sequence diagram
4. select the left object widget
5. scroll down to the first message

OBSERVED RESULT
You cannot see that the left widget is selected

EXPECTED RESULT
There should be an indication on the line of the left widget that the related object widget is selected

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.1
KDE Frameworks Version: 5.49.0
Qt Version: 5.9.7
Comment 1 Ralf Habacker 2020-03-05 18:33:35 UTC
Git commit 50797b59d16126a1927addc35fe00755991547bf by Ralf Habacker.
Committed on 05/03/2020 at 18:26.
Pushed by habacker into branch 'master'.

Fix 'On sequence diagrams no display of a selected object widget on the corresponding line'

If an object widget is selected, the corresponding sequence line is
displayed with a larger line width.

It was necessary to fix a problem with QGraphicsItem::setSelected() to
implement the requested behavior. Details can be found in the
documentation of the class QGraphicsObjectWrapper.
FIXED-IN:2.30.80 (KDE releases 20.03.80)

M  +13   -0    umbrello/umlwidgets/objectwidget.cpp
M  +2    -0    umbrello/umlwidgets/objectwidget.h
M  +2    -2    umbrello/umlwidgets/umlwidget.cpp
M  +19   -2    umbrello/umlwidgets/widgetbase.cpp
M  +36   -1    umbrello/umlwidgets/widgetbase.h
M  +7    -0    unittests/CMakeLists.txt
M  +1    -1    unittests/testbase.cpp
A  +70   -0    unittests/testwidgetbase.cpp     [License: GPL (v2/3)]
A  +34   -0    unittests/testwidgetbase.h     [License: GPL (v2/3)]

https://invent.kde.org/kde/umbrello/commit/50797b59d16126a1927addc35fe00755991547bf