OpenOffice.org/LibreOffice's menus don't appear in the menu bar

Bug #664731 reported by Matthew Paul Thomas
200
This bug affects 41 people
Affects Status Importance Assigned to Milestone
Application Menu Indicator
Invalid
Wishlist
Unassigned
DBus Menu
Invalid
Undecided
Unassigned
OpenOffice
Unknown
Unknown
indicator-appmenu (Ubuntu)
Invalid
Wishlist
Unassigned
Natty
Invalid
Wishlist
Unassigned
libreoffice (Ubuntu)
Invalid
Medium
Björn Michaelsen
Natty
Invalid
Medium
Björn Michaelsen
openoffice.org (Ubuntu)
Won't Fix
Wishlist
Unassigned
Natty
Invalid
Wishlist
Unassigned

Bug Description

OpenOffice.org/LibreOffice's menus do not appear in the Unity menu bar or "Indicator Applet Appmenu".

In Maverick, this work was put off until Maverick+1 on the grounds that Unity was being used only in UNE, and OpenOffice.org was not going to be shipped by default in UNE.

LibreOffice bug: https://bugs.freedesktop.org/show_bug.cgi?id=32562
OpenOffice bug: http://openoffice.org/bugzilla/show_bug.cgi?id=98157

Related branches

Revision history for this message
Anurag Panda (anurag-panda) wrote :

The menu do not appear in any Java/Swing app as well.

Revision history for this message
Ted Gould (ted) wrote :

Marking the indicator-appmenu tasks as invalid as I dont' believe there is any work that needs to be done there. Only in the openoffice.org package.

Changed in indicator-appmenu (Ubuntu):
status: New → Invalid
Changed in indicator-appmenu:
status: New → Invalid
Revision history for this message
Pierre Slamich (pierre-slamich) wrote :

I guess things should be easier now that OpenOffice.org was forked. Having native menus for LibreOffice seems to be something the upstream developper would want (Getting Rid of Java, and revamping the UI is on the agenda, and there was a similar proposal for Qt)

Changed in libreoffice:
status: New → Confirmed
Changed in openoffice.org (Ubuntu Natty):
status: New → Confirmed
Changed in indicator-appmenu (Ubuntu Natty):
status: Invalid → Confirmed
Changed in indicator-appmenu:
status: Invalid → Confirmed
Revision history for this message
In , Mark Shuttleworth (sabdfl) wrote :

dbusmenu provides a facility for global menus, it's developed by Canonical for Ubuntu but freely available for other OS's. Gtk and Qt support it, but LibreOffice will need an additional patch to do so. A quick review of LibreOffice menus suggests it doesn't use anything that is not already provided by dbusmenu, it should simply be a matter of connecting the dots.

Am filing this bug here to facilitate coordination of a fix, as the issue has been reported in the Ubuntu bugtracker.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

Filed in the libreoffice bugtracker and linked here to facilitate coordination.

Changed in libreoffice:
importance: Undecided → Unknown
status: Confirmed → Unknown
Revision history for this message
In , Kendy-k (kendy-k) wrote :

Mark: Thank you for the report!

Marking it as 'EasyHack' [though it is going to be an 'Advanced Hack' I am afraid ;-)] to be accessible from

http://wiki.documentfoundation.org/Development/Easy_Hacks

Revision history for this message
David Barth (dbarth) wrote :

We don't have plans to support OpenOffice directly in the appmenu, since OpenOffice uses yet another toolkit. Our efforts have been directed towards XUL to extend appmenu support direclly.

We're welcoming patches to help make openoffice work with appmenu though. For example, we're getting contributions to get Java/SWT apps to integrate better with it.

Changed in indicator-appmenu:
importance: Undecided → Wishlist
Changed in indicator-appmenu (Ubuntu Natty):
importance: Undecided → Wishlist
Changed in openoffice.org (Ubuntu Natty):
importance: Undecided → Wishlist
Changed in libreoffice:
status: Unknown → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

Would a LibreOffice patch implementing a native GTK menu for LibO help this? Will the GTK menu be automatically be proxied to the appmenu indicator?

Revision history for this message
Alberto Ruiz (alberto.ruiz) wrote :

@Robert:

Embedding a Gtk+ Widget into LibreOffice would be a total nightmare and the code would be a lot more prone to regressions as it would imply some nasty integration with the OOo/LO widget system (using the offscreen windows in Gtk+ and doing event redirection). The only Gtk+ widgets used in OOo are Dialogs which do not present this problem.

Creating a UNO Component that exposes the Menu structure through DBus is the way to go.

David Barth (dbarth)
tags: added: parser
Revision history for this message
Ted Gould (ted) wrote :

Don't expect any dbusmenu work to get this done.

Changed in dbusmenu:
status: New → Invalid
Revision history for this message
Ted Gould (ted) wrote :

Don't expect any indicator-appmenu work to get this done.

Changed in indicator-appmenu:
status: Confirmed → Invalid
Changed in indicator-appmenu (Ubuntu Natty):
status: Confirmed → Invalid
tags: removed: parser
Changed in libreoffice:
importance: Unknown → Medium
Revision history for this message
In , Matt Sturgeon (mattsturgeon) wrote :
summary: - OpenOffice.org menus don't appear in the menu bar
+ OpenOffice.org/LibreOffice's menus don't appear in the menu bar
description: updated
Revision history for this message
Matt Sturgeon (mattsturgeon) wrote :
Omer Akram (om26er)
Changed in libreoffice (Ubuntu Natty):
importance: Undecided → Medium
status: New → Triaged
Changed in openoffice:
importance: Unknown → Undecided
status: Unknown → New
importance: Undecided → Unknown
status: New → Unknown
description: updated
Changed in libreoffice:
status: Confirmed → In Progress
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

Alberto: Should I reassign to myself?

Revision history for this message
Andy Branscomb (droolingsheep) wrote :

I don't know if this is the same bug or if I should file it separately, but when I download a .pptx file with firefox and tell it to "Open With" LibreOffice Impress (so it saves it in /tmp and starts LibreOffice automatically) the Nautilus menu appears in the menu bar and the LibreOffice menus are at the top of the window where they would be without Unity. The close, minimize, maximize window controls are also missing if the window is maximized. If I switch the focus to another program then switch back, the Nautilus menu disappears and the window controls appear.

I've attached a screenshot of the problem.

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

Closing in libreoffice packaging as this functionality is enabled by the lo-menubar package.

Changed in libreoffice (Ubuntu):
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
status: Triaged → Invalid
Changed in libreoffice (Ubuntu Natty):
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
status: Triaged → Invalid
Revision history for this message
papukaija (papukaija) wrote :

Should the same be done for openoffice.org as it's just a transitional package in Natty and newer?

Changed in openoffice.org (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
papukaija (papukaija) wrote :

Closing Natty task as OO.org is a transitional package in it.

Changed in openoffice.org (Ubuntu Natty):
status: Confirmed → Invalid
Changed in openoffice.org (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

Revision history for this message
In , Stéphane Aulery (lkppo) wrote :

Deteted "Easyhack" from summary

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.