Bug 146922

Summary: Groupedbar Compact UI : share a few creation templates with the standard menu
Product: LibreOffice Reporter: Jérôme <jerome.bouat>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: libreoffice-ux-advise, momonasmon
Priority: medium Keywords: needsUXEval
Version: 7.2.5.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107158    

Description Jérôme 2022-01-22 15:19:47 UTC
A few group menus contains sub menus which have to provide the same entries than the standard menu.

For example, the comment #10 of the bug #142990 proposes to add a sub menu entry to the "insert" group that is identical to the "field" sub menu of the standard "insert" menu ?

In order to decrease the discrepancies between the 2 sub menus, could we possibly use the same template in order to create the 2 sub-menus ?

Other sub menus may benefit from this feature.
Comment 1 Heiko Tietze 2023-03-01 10:38:09 UTC
The notebookbar variants are based on ui files maintained via Glade. I don't see how a kind of template could work. Or am I missing the point?
Comment 2 Maxim Monastirsky 2023-03-01 12:13:00 UTC
(In reply to Jérôme from comment #0)
> For example, the comment #10 of the bug #142990 proposes to add a sub menu
> entry to the "insert" group that is identical to the "field" sub menu of the
> standard "insert" menu ?
> 
> In order to decrease the discrepancies between the 2 sub menus, could we
> possibly use the same template in order to create the 2 sub-menus ?
This is already the case. The "Field" submenu is defined in a separate xml file at sw/uiconfig/swriter/popupmenu/insertfield.xml, and from there pulled to both the main menu and the toolbar by .uno:InsertFieldCtrl. Moreover, .uno:InsertFieldCtrl is already present in Groupedbar Compact but under the "References" menu, so Bug 142990 appears to be WFM (unless we want to move it to the insert menu, which might be more familiar to some users).
Comment 3 Heiko Tietze 2023-05-16 09:51:19 UTC
WFM according Maxim's comment