Libreoffice has no menubar in Kubuntu if global menus are enabled

It looks like a bug but I am not sure which program is to blame..

In Plasma 5.12 the option to add global menus in window titlebar has been removed, but there is a panel widget that adds global menus to the panel, while global menus are still available in the window titlebar as a button.

"Global Menu" widget on the panel (Chrome menu):

enter image description here

Setting as indicated here (under System Settings > Application Style > Windows Decorations > (tab) Buttons)

enter image description here

brings global menus into a left-side button on the window upper margin; like for example in Chrome:

enter image description here

When any of these global menus are enabled, Libreoffice (6.0.7) has no menubar anymore. Adding the Menubar button in Libreoffice and using it has no effect.

enter image description here

But after disabling these two ways of displaying global menus, the menubar in Libreoffice comes back. These changes happen instantly in Libreoffice, no program restart needed.

enter image description here

So, it seems I cannot enjoy global menus and use Libreoffice properly in Kubuntu 18.04.

I read here that Plasma 5.14 will bring out of the box global menus for gtk applications (something that is available as "tech preview" in 5.13). So, absence of global menus for gtk apps in 5.12 is normal, but why should global menus for KDE applications would mean breaking non-global menus for Libreoffice?

Can anybody confirm this problem? Any ways around it?


enter image description here

Libreoffice is 6.0.7.

The same problem after upgrading to 6.1.4.

Installing gtk3-nocsd to disable client side decorations didn't help either (Libreoffice was not using those anyway I guess.).


Update:

18.10 with Plasma 5.13.5 displays the same behaviour.

Plasma 5.14.15 (installable in 18.10 with the Kubuntu backports PPA) adds global menus for GTK applications, so the Libreoffice menus are accessible in the panel or the window button. (This works fine with the standard interfaces, but with the experimental interfaces the global menus may disappear randomly.)


Solution 1:

Just install libreoffice-kde

sudo apt libreoffice-kde

Solution 2:

Years later, I stumbled against the same problem and found an answer here. It worked for me. I don't take credit for this, but rather post it than forget it next time I reinstall.

The idea is to search for the Background Services and disable the Application menus daemon.

enter image description here