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

            Bug ID: 173280
           Summary: "radio"-style menu entries can't have icon-less "text"
                    style at the same time and will always show icons, if
                    they are avaliable
           Product: LibreOffice
           Version: 3.3.0 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
It seems to be impossible to define menu entries that exhibit radio behavior
(mutally exclusive selection by setting menu:style="radio") but show no icons
(by setting menu:style="text"). Radio selection is mainly behavioral (though it
needs to be indicated, currently via a dot when no icons are present, and a
highlighted icon when icons are present) while icons are a matter of
highlighting specific menu entries.

Steps to Reproduce:
Editing a menu file like ./sw/uiconfig/swriter/menubar/menubar.xml I want to
define a menu entries that should not show icons but exhibit radio control
behavior. This section in the view menu shows icons: 

      <menu:menuitem menu:id=".uno:PrintLayout" menu:style="radio"/>
      <menu:menuitem menu:id=".uno:BrowseView" menu:style="radio"/>
      <menu:menuitem menu:id=".uno:DraftView" menu:style="radio"/>

but they can't be hidden with 

      <menu:menuitem menu:id=".uno:PrintLayout" menu:style="text radio"/>
      <menu:menuitem menu:id=".uno:BrowseView" menu:style="text radio"/>
      <menu:menuitem menu:id=".uno:DraftView" menu:style="text radio"/>

and if I replace 

menu:style="radio" with menu:style="text", I remove the behavior

Actual Results:
There seems to be no way to not show icons but have radio control behavior

Expected Results:
It should be possible to independently define whether an icon is shown and
which behavior the menu entry has. 

Ideally, what is now "text" style should be the default so icons could be
switched on and off with a separate attribute. Alternatively, multiple styles
should be possible at the same time. (like menu:style="text radio"). 


Reproducible: Always


User Profile Reset: No

Additional Info:
Tried under Debian with qt5

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to