Bug 417584 - In-Window-Decoration menu for Libreoffice vanished in plasma 5.18
Summary: In-Window-Decoration menu for Libreoffice vanished in plasma 5.18
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
: 417712 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-13 18:21 UTC by Beurt
Modified: 2020-02-18 09:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.18.1


Attachments
Fresh LibreOffice Profile with no menubar even with the global menu activated (101.96 KB, image/png)
2020-02-13 18:21 UTC, Beurt
Details
Only One of the two lines of tab of the window Modify Style of LibreOffice is shown (37.68 KB, image/png)
2020-02-13 18:47 UTC, Beurt
Details
Xprop ouput of LO Calc without menu bar (8.07 KB, text/plain)
2020-02-14 16:24 UTC, Beurt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beurt 2020-02-13 18:21:31 UTC
Created attachment 125964 [details]
Fresh LibreOffice Profile with no menubar even with the global menu activated

SUMMARY

KDE Neon just received Plasma 5.18 update. Aftewreds my LibreOffice menu vanished. I tried to set the Global Menu button in windows, but the menu button do not appear in LibreOffice menu bar and this changes nothing: no menu at all in LibreOffice.

I also tried with a fresh LibreOffice (no prior settings) with the exact same result.


STEPS TO REPRODUCE
1. Launch LibreOffice
2. 
3. Setting the Global Menu doesn't help

OBSERVED RESULT

No menu at the top of the window

EXPECTED RESULT

At the top of the window, it should show a menu bar

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Plasma 5.18 on KDE Neon
(available in About System)

ADDITIONAL INfORMATIONS

All kde_gtk settings seems lots (icons for instance)
Comment 1 Beurt 2020-02-13 18:47:32 UTC
Created attachment 125973 [details]
Only One of the two lines of tab of the window Modify Style of LibreOffice is shown

The bug seems related to https://bugs.kde.org/show_bug.cgi?id=417570

It is not only the menu that is missing, it is the **whole layout** of LibreOffice that is broken.

For instance, only the first line of the two lines of tabs in Modify Style form window are shown. And the bottom of the form widow shows a strange behavior as if there is some unused space left (corresponding to the height of the missing tab line). I attach the corresponding screenshot.
Comment 2 Vlad Zahorodnii 2020-02-14 14:46:52 UTC
Could you please run xprop from command line, click on a libreoffice window, and attach the output to this bug report?
Comment 3 Beurt 2020-02-14 16:24:14 UTC
Created attachment 126022 [details]
Xprop ouput of LO Calc without menu bar

I can’t provide xprop output for a fresh profile at the moment but here is the xprop output for the document I am currently working on.
Comment 4 Beurt 2020-02-15 12:19:43 UTC
Some news: in the bug https://bugs.kde.org/show_bug.cgi?id=417570 Duns found that the problem is related to libreoffice-kde.

Uninstalling libreoffice-kde (and dependencies) restores the menu and correct layout in LibreOffice. Unfortunately, we then cannot use the very handfull KDE filepicker within LO.
Comment 5 Nate Graham 2020-02-15 23:00:08 UTC
I'm willing to bet that this works in a newer version of LibreOffice (Neon ships an old one), but it's still rather concerning that this used to work but broke in Plasma 5.18.
Comment 6 lnxusr 2020-02-16 02:50:59 UTC
*** Bug 417712 has been marked as a duplicate of this bug. ***
Comment 7 lnxusr 2020-02-16 02:54:08 UTC
(In reply to Nate Graham from comment #5)
> I'm willing to bet that this works in a newer version of LibreOffice (Neon
> ships an old one), but it's still rather concerning that this used to work
> but broke in Plasma 5.18.

I can confirm this works in a newer version of LO.  I installed 6.3 ("Fresh") release from the ppa that seems to have ignored or broke libreoffice-kde, and left not only the Menubar but also the Toolbar directly under it missing.  I purged that ppa and went with 6.2 ("Stil") release which brought LO back to the state it was in prior to the Plasma 5.18 update.

I'm marking my report (417712) as a duplicate, but I believe there's a bit more info in mine and a better explanation and screenshot of the problem.
Comment 8 Vlad Zahorodnii 2020-02-18 09:18:54 UTC
Git commit cfa5daaad1bfb954e7b2176bba7b985410584e63 by Vlad Zahorodnii.
Committed on 18/02/2020 at 09:16.
Pushed by vladz into branch 'Plasma/5.18'.

Fix misplaced client windows

Summary:
This regression was introduced by me, sorry. The client window may be at
location other than (0, 0), in which case we have to move it to (0, 0)
to ensure that the client contents is not covered by window frame.
FIXED-IN: 5.18.1

Reviewers: #kwin, broulik

Reviewed By: broulik

Subscribers: broulik, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D27456

M  +2    -2    x11client.cpp

https://commits.kde.org/kwin/cfa5daaad1bfb954e7b2176bba7b985410584e63