Bug 410543

Summary: Missing entries in context menu/toolbar for adding certain widget types to component diagrams
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.28.3 (KDE Applications 19.04.3)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.29.80 (KDE Applications 19.11.80)

Description Ralf Habacker 2019-08-03 17:01:39 UTC
STEPS TO REPRODUCE
1. start umbrello
2. add component diagram
3a. inspect toolbar
3b. open context menu in component diagram

OBSERVED RESULT
The toolbar does not contain an entry for adding a subsystem and the context menu does not contain an entry for adding interface, ports and connections


EXPECTED RESULT
The mentioned entries should be available
Comment 1 Ralf Habacker 2019-08-06 16:07:49 UTC
(In reply to Ralf Habacker from comment #0)
> The toolbar does not contain an entry for adding a subsystem
According to https://developer.ibm.com/articles/the-component-diagram/#subsystems subsystems are components with a "subsystem" stereotype. The special subsystem widget therefore seems to be specific only to UML 1.4.
Comment 2 Ralf Habacker 2019-08-08 22:52:06 UTC
Git commit 8ca197f818b4045e8c7de5f41146a9f7d7d25426 by Ralf Habacker.
Committed on 08/08/2019 at 22:51.
Pushed by habacker into branch 'master'.

Add subsystem support to toolbar and context menu for component diagrams

If, after adding a subsystem, it is removed and restored, the value of the stereotype is lost.
FIXED-IN:2.29.80 (KDE Applications 19.11.80)

M  +1    -0    umbrello/icons.qrc
M  +1    -0    umbrello/menus/widgetbasepopupmenu.cpp
M  +3    -0    umbrello/model_utils.cpp
M  +5    -0    umbrello/object_factory.cpp
M  +1    -0    umbrello/pics/CMakeLists.txt
A  +-    --    umbrello/pics/cursor-subsystem.png
M  +3    -0    umbrello/toolbarstateother.cpp
M  +2    -1    umbrello/uml1model/umlobject.h
M  +2    -9    umbrello/umlscene.cpp
M  +3    -0    umbrello/worktoolbar.cpp
M  +3    -1    umbrello/worktoolbar.h

https://commits.kde.org/umbrello/8ca197f818b4045e8c7de5f41146a9f7d7d25426