Bug 135048 - Notebookbar Extension support with label
Summary: Notebookbar Extension support with label
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar
  Show dependency treegraph
 
Reported: 2020-07-22 15:45 UTC by andreas_k
Modified: 2023-09-20 13:40 UTC (History)
8 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 andreas_k 2020-07-22 15:45:43 UTC
NotebookBarAddonsToolMergePoint (where the extension commands were drawn should offer settings for icon and label size/arrangement

see extension developer discussion
https://github.com/zotero/zotero-libreoffice-integration/pull/51#issuecomment-662454610

In addition after each extension commands there should be a vertical separator.
Comment 1 andreas_k 2020-07-22 15:48:26 UTC
For example I prefer for:

tabbed NB:
- Icon Size: Large Toolbar
- Toolbar Style: Text below icons


tabbed compact NB:
- Icon Size: Large Toolbar
- Toolbar Style: Text beside icons

grouped compact NB:
- Icon Size: size from LibO settings
- Toolbar Style: Icon only
Comment 2 andreas_k 2020-07-22 15:49:50 UTC
sfxlo-NotebookbarToolBox offers settings for Icon Size and Toolbar Style, maybe it would be possible to insert NotebookBarAddonsToolMergePoint into sfxlo-NotebookbarToolBox and NotebookBarAddonsToolMergePoint will respect the settings.
Comment 3 Pedro 2020-07-22 16:40:36 UTC
Yes please. There's bene complaints from Zotero devs and another person here:

https://github.com/zotero/zotero-libreoffice-integration/pull/51
Comment 4 John Mills 2020-07-22 16:48:39 UTC
Is it possible for the Extension name (i.e. Zotero)to be added underneath (or above) the group of icons and text description (in the middle of each distinct section) in the Extension bar in the Tabbed NB interface? Due to vertical space I would not see this being added to the tabbed compact view.

If multiple extensions are installed this will aid in the visual separation of extensions, potentially a user could have many such extensions installed and cause confusion.
Comment 5 Heiko Tietze 2020-12-01 14:06:06 UTC
/me-too (aka no objection)
Comment 6 Rafael Lima 2021-03-09 01:18:40 UTC
Hi! I am having the same problem here.

I am developing an extension and I'd like to have it shown in the Extension Tab as a large icon with text beneath it.

With the instructions shown in the link below, I could only add a small icon without any labels.

https://wiki.documentfoundation.org/Development/NotebookBar/Extensions

I also tried using the "MergeNotebookBarInstruction" to try to add an icon to some other existing tab, but could not get it to work.

I have been messing with this for few days now and tried everything I could come up with, but no success. I believe the "MergeNotebookBarInstruction" is simply not working.

Implementing NotebookBar extensions support is getting more and more important, since many people are moving to the Tabbed interface. And this becomes a problem for extension developers, since users have to stick with the Standard Toolbar just to use their extensions.
Comment 7 Szymon Kłos 2021-03-09 09:10:13 UTC
I don't think 'MergeNotebookBarInstruction' was implemented (if I remember correctly).