Download it now!
Bug 114634 - menubar completely disappears in KDE plasma 5.11.4
Summary: menubar completely disappears in KDE plasma 5.11.4
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Main-Menu Desktop-Environment
  Show dependency treegraph
 
Reported: 2017-12-21 20:17 UTC by Sudarshan Kakoty
Modified: 2017-12-22 12:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The menubar is nowhere (but it shows inside application when not using global menu) (698.17 KB, image/png)
2017-12-21 20:17 UTC, Sudarshan Kakoty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sudarshan Kakoty 2017-12-21 20:17:28 UTC
Created attachment 138581 [details]
The menubar is nowhere (but it shows inside application when not using global menu)

Description:
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

Actual Results: 
The menubar is nowhere, neither in the application nor in the global menu widget.

Expected behaviour:
The application menu should be shown in the top level panel (along with the upper edge of the monitor).
Comment 1 Sudarshan Kakoty 2017-12-21 20:19:23 UTC
LibreOffice build: LibreOffice 5.4.3.2 40m0(Build:2)
Plasma Build: plasma-shell 5.11.4
Comment 2 Aron Budea 2017-12-21 21:02:59 UTC
Please don't confirm your own bug reports.
Comment 3 Sudarshan Kakoty 2017-12-21 21:12:43 UTC
Ok. Ok sorry. it was my mistake. thanks for correcting me :))
Comment 4 Yousuf Philips (jay) (retired) 2017-12-21 22:29:32 UTC
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?
Comment 5 Sudarshan Kakoty 2017-12-22 05:54:08 UTC
LibreOffice details:

Version: 5.4.3.2
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)
Comment 6 Yousuf Philips (jay) (retired) 2017-12-22 09:15:18 UTC
(In reply to Sudarshan Kakoty from comment #5)
> LibreOffice details:
> 
> Version: 5.4.3.2
> Build ID: 5.4.3-4

Sudarshan: Can you copy all the build details from the about dialog, similar to the below.

Version: 6.1.0.0.alpha0+
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
Comment 7 Sudarshan Kakoty 2017-12-22 10:01:44 UTC
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.
Comment 8 Sudarshan Kakoty 2017-12-22 10:13:20 UTC
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

(Solved issue)
Comment 9 Yousuf Philips (jay) (retired) 2017-12-22 11:48:42 UTC
(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.

https://www.archlinux.org/packages/extra/x86_64/libreoffice-fresh/
Comment 10 Sudarshan Kakoty 2017-12-22 12:15:00 UTC
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 :))