[Libreoffice-bugs] [Bug 36210] New: disable "Insert" command impossible through dispatch framework

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 13 08:29:51 PDT 2011


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

           Summary: disable "Insert" command impossible through dispatch
                    framework
           Product: LibreOffice
           Version: LibO 3.3.2 release
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Spreadsheet
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: oooconv at free.fr


the whole suite menus/action use dispatch framework

this is useful when one want to disable some UI commands

http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Disable_Commands

especially, it is said :
The dispatch framework works with the design pattern chain of responsibility 
...
The disable commands implementation is the first chain member and can therefore
work as a wall for all disabled commands. They are not be sent to the next
chain member, and disappear.

applying this to "Insert" command works for menu entries (insert > sheet or
right click on a sheet tab) - see given macro code

but, the Insert is still available
- by clicking the green + button
- by clicking empty space near sheet tabs

--> these 2 functionality should respect the dispatch framework

-- 
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