Bug 146922 - Groupedbar Compact UI : share a few creation templates with the standard menu
Summary: Groupedbar Compact UI : share a few creation templates with the standard menu
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Notebookbar-Groupedbar
  Show dependency treegraph
 
Reported: 2022-01-22 15:19 UTC by Jérôme
Modified: 2023-05-16 09:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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