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:
https://bugs.documentfoundation.org/show_bug.cgi?id=116532

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:
    https://wiki.documentfoundation.org/Development/NotebookBar/Extensions
  • Hi, any news on this issue?
    I am stuck in the old LO interface because of this issue of the Zotero plugin.
    Thanks.
  • 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 29 days ago
    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.

    https://sumitcn.github.io/extension-support/

    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.

    extension

    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>
    <prop oor:name="Title" oor:type="xs:string">
    <value> </value>
    </prop>
    <prop oor:name="ImageIdentifier" oor:type="xs:string">
    <value> </value>
    </prop>
    <prop oor:name="Target" oor:type="xs:string">
    <value> </value>
    </prop>
    <prop oor:name="Context" oor:type="xs:string">
    <value> </value>
    </prop>
    <prop oor:name="ControlType" oor:type="xs:string">
    <value> </value>
    </prop>
    <prop oor:name="Width" oor:type="xs:string">
    <value> </value>
    </prop>
    <prop oor:name="Style" oor:type="xs:string">
    <value> </value>
    </prop>
    </node>
    </node>
    </node>


    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

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

Sign In or Register to comment.