Created attachment 138581 [details]
The menubar is nowhere (but it shows inside application when not using global menu)
Global application menu does not work with KDE Plasma 5.11+ (Arch Linux broken integration)
Even this is a minor bug, this bug should be present here at least to draw the attention to this business requirement/issue and conserve discussion
Steps to reproduce:
1) In KDE (5.11.4) go to system settings > Application Style > Fine tuning > menubar style and select "Application Menu Widget" & click "Apply"
2) Check that the global menu works in other applications. (Works for GIMP and other GTK Apps)
3) Run any application from the LibreOffice package
The menubar is nowhere, neither in the application nor in the global menu widget.
The application menu should be shown in the top level panel (along with the upper edge of the monitor).
LibreOffice build: LibreOffice 22.214.171.124 40m0(Build:2)
Plasma Build: plasma-shell 5.11.4
Please don't confirm your own bug reports.
Ok. Ok sorry. it was my mistake. thanks for correcting me :))
Sudarshan: please copy and paste the build details from the Help > About dialog if you are able to access it, as attachment 138581 [details] is libreoffice running in gtk3 mode and not using the kde backend.
Also which distribution are you running and do you have the libreoffice-kde package installed?
Build ID: 5.4.3-4
Distribution: Arch Linux
Note: Arch Linux does not contain any "libreoffice-kde" package. (Neither in official or AUR repo)
(In reply to Sudarshan Kakoty from comment #5)
> LibreOffice details:
> Version: 126.96.36.199
> Build ID: 5.4.3-4
Sudarshan: Can you copy all the build details from the about dialog, similar to the below.
Build ID: 021081823aeebcfa395662d0c04535a243977c2e
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2;
Locale: en-US (en_US.UTF-8); Calc: group threaded
> Distribution: Arch Linux
> Note: Arch Linux does not contain any "libreoffice-kde" package. (Neither in
> official or AUR repo)
Guess that its built into the default installation and for some strange reason isnt running in kde mode when being launched on your system. Try this from the terminal and see if it makes a difference.
export SAL_USE_VCLPLUGIN=kde && soffice
Thanks for the suggestion "Yousuf Philips"
I tried "export SAL_USE_VCLPLUGIN=kde && soffice" still no menubar.
I tried a Gentoo system and figured the issue out. Gentoo suggests "kdelibs" as a dependency of LibreOffice 5.4. So now onwards, in any Qt-based Linux distribution, "kdelibs" is recommended dependency for menubar support.
Quick Fix: "sudo pacman -S kdelibs" on Arch Linux Systems.
Thank you for your support.
These variable Yousuf Philips mentioned "SAL_USE_VCLPLUGIN=kde" can be uncommented in /etc/profile.d/libreoffice-fresh.sh or /etc/profile.d/libreoffice-still.sh
(In reply to Sudarshan Kakoty from comment #7)
> I tried a Gentoo system and figured the issue out. Gentoo suggests "kdelibs"
> as a dependency of LibreOffice 5.4. So now onwards, in any Qt-based Linux
> distribution, "kdelibs" is recommended dependency for menubar support.
> Quick Fix: "sudo pacman -S kdelibs" on Arch Linux Systems.
So i was correct that you dont have the libreoffice kde integration installed. I had checked the Arch package system at the link below, and it had "kdelibs (optional) - for KDE desktop integration" in the dependencies section.
I used "Discover" to install packages.(Recommended by upstream KDE) and it did not pull optional dependencies :)) However I think it should not be an optional package anymore :))