Bug 107260 - Table styles not functional in contextual group Notebookbar
Summary: Table styles not functional in contextual group Notebookbar
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Notebookbar-ContextualGroups
  Show dependency treegraph
Reported: 2017-04-19 08:54 UTC by Heiko Tietze
Modified: 2023-07-01 09:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2017-04-19 08:54:03 UTC
The contextual sections variant of the notebookbar deals a lot with styles. Among others the table style is such a basic function made salient by a big button. However, the actual table styles in this menu are only dummies. So what we need is a list of recently used table styles filled with some items by default. For example we define Blue, Yellow, Red, and Green as default styles resulting in a menu with these items. When the user chooses another table style like Brown the last item from the list is removed and the new one inserted as first.
Comment 1 Yousuf Philips (jay) (retired) 2017-04-19 18:48:11 UTC
You have to decide which of the available table styles you want to include in the drop down menu, set the drop down menu control to be a svtlo-ManagedMenuButton control and then add uno commands similar to below into the menu entries.

Comment 2 Justin L 2023-06-16 21:44:27 UTC
Note that bug 137067 complains that svtlo-ManagedMenuButton is not GTK welded, so it looks out of place.
Comment 3 Justin L 2023-06-29 11:35:36 UTC
Pressing "Table Styles" now opens the table styles dialog, where one can chose from the available styles. No Dummy entries seen anywhere. WORKSFORME
Comment 4 Heiko Tietze 2023-07-01 09:51:43 UTC
The "Styles" button lists a few entries without any function. It is supposed to work like paragraph styles giving access to some presets and user defined / used styles.

I'm okay if we decide to not realize this NB. Although it would be a pity to just follow what others do.