Bug 135048

Summary: Notebookbar Extension support with label
Product: LibreOffice Reporter: andreas_k <kainz.a>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: aron.budea, dennisroczek, heiko.tietze, ilmari.lauhakangas, jmills59, kainz.a, rafael.palma.lima, szymon.klos
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102062    

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).