Bug 381363 - Documentation window does not show the correct icon
Summary: Documentation window does not show the correct icon
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.22.2 (KDE Applications 17.04.2)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 13:55 UTC by Ralf Habacker
Modified: 2017-06-19 05:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.22.3 (KDE Applications 17.04.3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2017-06-18 13:55:41 UTC
The documentation windows shows the correct icon only for classes. 

How to reproduce:
1. start umbrello
2. add a text, a note, a box or an association to the class diagram
3. select the created widget

What happens ?
The documentation window always shows a class icon regardless of what has been selected

What is expected ?
The documentation window should show an icon which relates to the selected widget type
Comment 1 Ralf Habacker 2017-06-18 14:00:48 UTC
Git commit e38b2965e394c91b58ad6dd60049919e0d83db99 by Ralf Habacker.
Committed on 18/06/2017 at 14:00.
Pushed by habacker into branch 'Applications/17.04'.

Fix 'Documentation window does not show the correct icon'.
FIXED-IN:2.22.3 (KDE Applications 17.04.3)

M  +19   -21   umbrello/docwindow.cpp
M  +108  -0    umbrello/umlwidgets/widgetbase.cpp
M  +2    -0    umbrello/umlwidgets/widgetbase.h

https://commits.kde.org/umbrello/e38b2965e394c91b58ad6dd60049919e0d83db99
Comment 2 Ralf Habacker 2017-06-19 05:30:25 UTC
Git commit 3f8fd4612d667d94aa36734b5d7d66781d3b2aa3 by Ralf Habacker.
Committed on 19/06/2017 at 05:30.
Pushed by habacker into branch 'Applications/17.04'.

Fix 'Documentation window does not show the correct icon'.

This commit fixes the issue for selecting entries in the tree view.

M  +1    -1    umbrello/docwindow.cpp
M  +67   -0    umbrello/uml1model/umlobject.cpp
M  +2    -0    umbrello/uml1model/umlobject.h

https://commits.kde.org/umbrello/3f8fd4612d667d94aa36734b5d7d66781d3b2aa3