Bug 152362 - the global menu is often not shown
Summary: the global menu is often not shown
Status: RESOLVED DUPLICATE of bug 149728
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 11:15 UTC by Guido Iodice
Modified: 2024-02-29 13:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Iodice 2022-12-03 11:15:26 UTC
KDE Plasma 5 with global menu on Manjaro Linux

Not always, but very often, the global menu is not shown when starting Libreoffice (any application).
Sometimes even if it is shown, just open a file and it disappears.
It also happens when I launch Libreoffice start centre (the menu appears) but then I launch (for example) writer and it disappears.

I have tried using gtk3 but nothing changes.
I also tried installing the official build (rpm) from aur, but nothing changes.
Comment 1 Guido Iodice 2022-12-03 11:54:47 UTC
Sorry, it seems that gtk3 is not affected.
Comment 2 BogdanB 2022-12-18 11:34:13 UTC
I think this is not our bug.

Please see if the global menu works for any other apps you use on your KDE Plasma 5.

IF the problem is just for LibreOffice please reopen this bug.
IF NOT this is not our bug, but KDE.

https://forum.manjaro.org/t/kde-global-menu-does-not-work/50953/5
Comment 3 Guido Iodice 2022-12-18 11:39:03 UTC
Yes, it works for any other app: Qt5, Qt6, gtk2, gtk3.

With libreoffice it works for gtk3, while Qt5, Qt6 and kf5 backends are affected.
Comment 4 Stéphane Guillou (stragu) 2023-07-20 07:05:18 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2023-07-27 10:37:13 UTC Comment hidden (obsolete)
Comment 6 Guido Iodice 2023-07-27 11:18:18 UTC
I noticed that if I open Writer when the search bar is active, the menu is not displayed. If I close the search bar and then close and reopen writer, it is displayed instead. However, the problem remains that if I open a file then the menu disappears.
Comment 7 Guido Iodice 2023-07-27 11:19:19 UTC
p.s. i use X11
Comment 8 Stéphane Guillou (stragu) 2024-02-29 12:52:17 UTC
* Guido uses KDE Plasma 5 on Manjaro, sees the issue with x11.
* Milton usesLO as a flatpak, KDE Plasma 5.27.6 with Wayland, no issue with x11. ** LO as flatpak currently only use the gtk VCL plugin.
** This issue of gtk + Wayland on Plasma has been known for a while: https://github.com/flathub/org.libreoffice.LibreOffice/issues/63 and https://github.com/flathub/org.libreoffice.LibreOffice/issues/234 and https://bugs.kde.org/show_bug.cgi?id=424485
** Allowing the flatpak to use the Qt backend would likely help: https://github.com/flathub/org.libreoffice.LibreOffice/issues/270
* There's also bug 149728, in which Max uses LO as AppImage, and the Material window decoration with material-kwin-decoration-git. Looks more similar to Guido's issue.

Guido, can you please clarify:
- how did you install LO?
- how did you turn on Global Menus / LIM?
Comment 9 Guido Iodice 2024-02-29 12:59:01 UTC
- how did you install LO?

From the package manager (pacman)
But the same problem also occurs with appimage.

- how did you turn on Global Menus / LIM?

KDE global menu (a panel applet) but also a LIM decoration called material-kwin-decoration-git

I can add that with Gtk3 it works without any problems.

I have identified over time cases where the menu does not appear:

* if I start the startcenter, the menu appears but then disappears once an application is selected

* if, at start-up, Writer's search bar is visible

* if I open a file from "recent"
Comment 10 Guido Iodice 2024-02-29 13:02:02 UTC
p.s. yes, I think it's the same problem of https://bugs.documentfoundation.org/show_bug.cgi?id=149728
Comment 11 Stéphane Guillou (stragu) 2024-02-29 13:07:23 UTC
Great, thank you for clarifying so quickly! Let's mark as duplicate of bug 149728, and keep Milton's issue separate.

*** This bug has been marked as a duplicate of bug 149728 ***