https://bugs.documentfoundation.org/show_bug.cgi?id=98803

            Bug ID: 98803
           Summary: UI Item enabled/disabled
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

In my applications, I have created a custom user menu (one per application)
dynamically in the MenuBar.
For that I've used the XUIElementSettings Interface.
No problems to create them.

Now, I want to have the possibilty to enabled (non greyed) or disabled (greyed)
some items of my new menus like in the factory menus.

I studied the UIElementSettings Service and when you use that, it is not
possible to realize that.
The only possibility, is to suppress or to add dynamically the Item in the
menu.
It is not fashion...

I tryed also the using of the XmenuBar interface and the XPopupMenu interface
by using the "enableItem" method.

Different kind of problems encountered :
With version 4.4.7 : C++ virtual call error message
With version 5.x.x : crash of LO immediately.

Is it possible to have in the ItemDescriptor Service the properties isVisible
and/or a new one "Enable" available for Item menu entries of the Menubar?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to