[umbrello] [Bug 394230] New: Listpopupmenu needs refactoring

Ralf Habacker bugzilla_noreply at kde.org
Mon May 14 06:15:38 UTC 2018


            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-devel at kde.org
          Reporter: ralf.habacker at 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:

[Bug 393188] Add feature to add connected note
You are receiving this mail because:
You are the assignee for the bug.

More information about the umbrello-devel mailing list