Description: LibreOffice tries to export its menues via dbus. This is obsolete as unity and its HUD is discontinued, and on modern Ubuntu (18.04 LTS), when starting LibreOffice and running: dbus-monitor |grep canonical shows (among other things): string "Could not get owner of name 'com.canonical.AppMenu.Registrar': no such name" As such this can be removed from the source. A starting point is the define: ENABLE_GMENU_INTEGRATION which can be removed (its not set anymore anyway, it seems). That code enabled unity menu integration in gtk2. In gtk3, menu export is enabled by default, but unlikely has any effect as even on Ubuntu, com.canonical.AppMenu.Registrar is not claimed anymore. As such the functions found with: git grep com.canonical.AppMenu.Registrar can be removed. While doing this, it should be taken care to also remove all -- now dead -- dependent code. Steps to Reproduce: 1. Start LibreOffice on latest Ubuntu 18.04 Actual Results: DBus Menu export isnt used. Expected Results: If DBus Menu export is not used even on Ubuntu, it should be removed from the code. Reproducible: Always User Profile Reset: No Additional Info:
Please, don't remove it. It is used by global menu plugin for {mate,vala,xfce4}-panel: https://gitlab.com/vala-panel-project/vala-panel-appmenu
(In reply to Arkadiy Illarionov from comment #1) > Please, don't remove it. It is used by global menu plugin for > {mate,vala,xfce4}-panel: > https://gitlab.com/vala-panel-project/vala-panel-appmenu @Björn Michaelsen, what do you think?
Removing easyHack keyword until a decision is taken...
(In reply to Arkadiy Illarionov from comment #1) > Please, don't remove it. It is used by global menu plugin for > {mate,vala,xfce4}-panel: > https://gitlab.com/vala-panel-project/vala-panel-appmenu Hello Konstantin, I've just read you're a vala-panel-appmenu developer in bug 123416. Could you please confirm Arkadiv's comment ?
Yes, it is used in vala-panel-appmenu. It will work without it, but appmenu is very nice addition to vala-panel-appmenu and it shows in all LibreOffice windows, which, for example, allows user to open a help without requirement of switching windows. About menu exporting - yes, entire vala-panel-appmenu works as Unity was. So, if you remove Unity menu exporting, I will get no menu in vala-panel-appmenu with GTK3 VCL Backend. For GMenuModel protocol, LibreOffice exports org.gtk.Actions and org.gtk.Menus, as GMenuModel requires, and it works. If you removed such GMenuModel integration, I will need to force Qt VCL backend to be used in desktops with vala-panel-appmenu (which have menus exported via DBusMenu for KDE). About com.canonical.AppMenu.Registrar - for GTK3 menu export is not required, it is only for DBusMenu (KDE one) method, AFAIK. At least, for vala-panel-appmenu.
As can be read here, Ubuntu drop Unity as the default desktop environment in 18.04 and that is true, but anyway you can install Unity 7 as easy as: sudo apt install ubuntu-unity-desktop Also Unity as a desktop did not die and the develop was split in to variants: 1- The Unity 7 (base on Gtk) See this project (with more than 23 developers)at: https://launchpad.net/~unity7maintainers And is also hosted by Ubuntu as a third-party project at: https://community.ubuntu.com/c/desktop/ubuntu-unity-dev 2- The Unity 8 (base on Qt) See this project at: https://ubports.com/ They are now separate projects with different maintainers, but both continues the usage of the Global Menu at it was. More over, i don't need to speak about the vala-panel-appmenu project, because is already in discussion heree. It's just to add that also in Ubuntu 18.04 we can easy add an extension and continues the usage of the global menu in the default Ubuntu session, because it also supported in GNOME Shell desktop using extensions, please see: https://extensions.gnome.org/extension/1250/gnome-global-application-menu/ Please note, that this extension is currently discontinued, but anyone can continued it if he want. Last produced version is here: https://github.com/jiqing112/Gnome-Global-AppMenu Finally i need to say that instead of the original suggestion, DBus Menu export is more used than ever. So, I fully recommend that do not remove it and instead improve it as much as possible, because it now used by more peoples in more desktops. It's then now universal instead of specific to Ubuntu.
Created attachment 150406 [details] Global Menu working on Ubuntu 18.04.2 with the default session. Please see the terminal output in the picture for more information.
@lestcape, they speaking about MenuModel integration in GTK backend, not about DBusMenu integration in KDE Backend. But I confirm all your positions, and want to add more: Now many projects want to create a HUD and searching in menus. This feature also depends heavily on menu exporting, so, removing menu exporting - no HUD.
Dear Björn Michaelsen, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
This is a bug to request a feature removal. It is a bad practice bug, and this feature is used now (but not by Ubuntu, yes, but by HUD applications). And you need GMenuModel for GTK4. So, I think this bug should be closed.
No response from Björn in years, so let's close to avoid future noise.