Ralf Habacker
2018-05-14 06:15:38 UTC
https://bugs.kde.org/show_bug.cgi?id=394230
Bug ID: 394230
Summary: Listpopupmenu needs refactoring
Product: umbrello
Version: Git
Platform: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: umbrello-***@kde.org
Reporter: ***@freenet.de
Blocks: 393188
Target Milestone: ---
While working on bug 393188 it turned out that finding the right place where
new context menu entries need to be added is hard hard work because of issues
with the current ListPopupMenu implementation.
1. It is not easy to see which constructor to use for which menu type (list
view, diagrams, widgets, dialogs and other)
2. The internal implementation only have a very limited separation (m_listView,
widget, umlobject). It is not easy to choose where to add entries for the
different source types (list view, diagrams, widgets, dialogs and other), which
results into having menu entries in unrelated menus.
3. The enum MenuType specifies separate menu entries, but the values from this
enum are also used to specify completes menus, which is confusing.
Referenced Bugs:
https://bugs.kde.org/show_bug.cgi?id=393188
[Bug 393188] Add feature to add connected note
Bug ID: 394230
Summary: Listpopupmenu needs refactoring
Product: umbrello
Version: Git
Platform: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: umbrello-***@kde.org
Reporter: ***@freenet.de
Blocks: 393188
Target Milestone: ---
While working on bug 393188 it turned out that finding the right place where
new context menu entries need to be added is hard hard work because of issues
with the current ListPopupMenu implementation.
1. It is not easy to see which constructor to use for which menu type (list
view, diagrams, widgets, dialogs and other)
2. The internal implementation only have a very limited separation (m_listView,
widget, umlobject). It is not easy to choose where to add entries for the
different source types (list view, diagrams, widgets, dialogs and other), which
results into having menu entries in unrelated menus.
3. The enum MenuType specifies separate menu entries, but the values from this
enum are also used to specify completes menus, which is confusing.
Referenced Bugs:
https://bugs.kde.org/show_bug.cgi?id=393188
[Bug 393188] Add feature to add connected note
--
You are receiving this mail because:
You are the assignee for the bug.
You are receiving this mail because:
You are the assignee for the bug.