[Libreoffice-bugs] [Bug 38671] New: [UI] Main context menu has too many separators

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 25 09:14:27 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38671

           Summary: [UI] Main context menu has too many separators
           Product: LibreOffice
           Version: LibO 3.4.0 release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: medium
         Component: Presentation
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: heinzlesspam at gmail.com


Created an attachment (id=48402)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=48402)
Impress menu before and after change, mock-up

The Draw and Impress main context menus have too many separators. This makes
mouse travels longer than necessary, looks cluttered and separates things that
could go together.
To reproduce open a new document and right-click on an empty space in the
Impress/Draw document.

The code for these context menus seems to be in
/impress/sd/source/ui/app/popup2_tmpl.src , line 551 and following.

All that should be needed would be changing/reordering the current menu to this
[1]:

#if SD_POPUP == RID_DRAW_TEXTOBJ_POPUP
    Menu RID_DRAW_NOSEL_POPUP
#elif SD_POPUP == RID_GRAPHIC_TEXTOBJ_POPUP
    Menu RID_GRAPHIC_NOSEL_POPUP
#endif
{
    ItemList =
    {
#if SD_POPUP == RID_DRAW_TEXTOBJ_POPUP
        MN_SLIDE_MENU
#elif SD_POPUP == RID_GRAPHIC_TEXTOBJ_POPUP
        MN_PAGE_MENU
#endif
        MN_NAVIGATOR
#if SD_POPUP == RID_DRAW_TEXTOBJ_POPUP
        MN_OUTLINEMODE
        MN_DIAMODE
        MN_PRESENTATION
#endif
        SEPARATOR
        MN_GRID
        MN_HELPLINES
        MN_CAPTUREPOINT
        SEPARATOR
        MN_LEAVE_GROUP
    };


[1] take this with a grain of salt – I am not an engineer and I haven't tested
this. I don't know if there are side effects.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list