Bug report: Zotero in LibreOffice does not play nice with the Notebookbar UIs.

Hello everyone,

I wanted to make a bug report about Zotero in Libre Office but since there's no bug tracker I'll leave the report here.
In case the developers aren't aware, Libre Office is using a different UI framework based on Glade. The interesting thing about it is that with the Notebookbar, LO now has UIs similar to the Ribbon UI from MSO.
There's more information about the Notebookbar in here: https://wiki.documentfoundation.org/Development/NotebookBar

Anyway, I submitted a bug report in LibreOffice and wanted to let Zotero devs know that when using the Notebookbar, Zotero creates an ugly toolbar under it, instead of integrating its buttons on the Notebookbar in a new tab (like it does in Microsoft Office Word).

I'll leave here the bug report I created on the Libre Office bugzilla:

I added a pdf with the issue, hope you guys give a look at it. Zotero is THE reference manager (it blows Mendeley out of the water) and having it play nice with the biggest and best open-source Office suite is a must.
  • It's not clear if the NotebookBar UI yet supports extensions:
  • Hi, any news on this issue?
    I am stuck in the old LO interface because of this issue of the Zotero plugin.
  • That will probably come in LibreOffice 6.4.
    There's currently a GSoC student working on making improvements on the Notebookbar, including allowing extensions to create their own Tab/group on teh Notebookbar like they create their own toolbar in the standard UI.

    My work around for that was place the Zotero toolbar in a vertical position on the left side of my LO installation instead of below the Tabbed UI.
  • edited August 21, 2019
    Hey everyone. If the responsible person for the Zotero extension for LibreOffice is here the work for 6.4 to add extension support for the Notebookbar is ongoing and there's already information for extension developers to adapt them to support the Notebookbar.


    What is Extension Suppport ?

    Extension Support allows users to add extensions in NotebookBar. There is an extension tab in all the NotebookBar interfaces where the added extension will be available.Add extension: Tool -> Extension Manager.


    Schema for Extension Developer

    There are two ways of adding an extension.

    1. To add an extension under Extension Tab:

    <node oor:name="OfficeNotebookBar">
    <node oor:name="*.OfficeNotebookBar" oor:op="replace">
    <node oor:name="m001" oor:op="replace">
    <prop oor:name="URL" oor:type="xs:string">
    <value> </value>
    <prop oor:name="Title" oor:type="xs:string">
    <value> </value>
    <prop oor:name="ImageIdentifier" oor:type="xs:string">
    <value> </value>
    <prop oor:name="Target" oor:type="xs:string">
    <value> </value>
    <prop oor:name="Context" oor:type="xs:string">
    <value> </value>
    <prop oor:name="ControlType" oor:type="xs:string">
    <value> </value>
    <prop oor:name="Width" oor:type="xs:string">
    <value> </value>
    <prop oor:name="Style" oor:type="xs:string">
    <value> </value>

    Developers should add the following code in the addons.xcu to make an extension compatible for Notebookbar.
  • To include code on the forum, wrap it in <code> </code> tags
  • @Pedro%20Rosmaninho Thanks for the link. I've created a ticket to track this. LibreOffice 6.4 is still miles away from release and it's not out of the question that they will add support for extension tabs without extension developer changes. Either way, we'll keep an eye on this.
  • Oh, extension developers will have to change their extensions to support the notebookbar. My post shows the changes that'll have to be done.
    A GSoC student is nearly done with adding extension support but it will require changes to extensions.

    I'll update this thread when everything is set in stone for you guys to adapt the Zotero extension. :)
  • Here's the update in the LibreOffice Wiki!!!
    Hopefully this is enough to make the Zotero extension to adapt to the Tabbed bar. :D


  • Hello!

    I already commented on the Github issue pertaining to this (Notebook UI #46). LibreOffice 6.4 will release next week. The Release Candidate 3 (which is usually equal to final version) is already available.

    If you perform the following steps after instalation:
    1 - Go to View -> User Interface,
    2 - Select Tabbed UI.

    You will see that there is now a tab for Extensions. Are there any plans on adapting the Zotero extension to use this tab in Tabbed UI?
  • This is not high enough priority for us right now. You should talk to the Document Foundation about this. While we appreciate the the changes required are fairly limited, the documentation for them is extremely lackluster, and by the end of the day it is down to the LibreOffice developers to ensure that their users are able to use their existing extensions in their new UI solution. LibreOffice has thousands of extensions and expecting them all to issue updates for an optional cosmetic change is simply not reasonable, and also will almost certainly not be required once enough extension users request support from the Document Foundation themselves.
  • Can someone submit a patch for Zotero to introduce this functionality?
Sign In or Register to comment.