The bugreport as the side of LyX can be found here:
The global menu is working somewhat with the active window plasmoid, but with the the global menu of plasma itself it is not working. The menu shows, but does not open (or opens so fast that it is hardly seen).
In the bugreport from Lyx one of the developpers offered to explain how Lyx's menus work. Maybe a solution can be found?
(available in About System)
KDE Plasma Version: 5.41.0
KDE Frameworks Version: 5.50
Qt Version: 5.11.2
From upstream ticket (LyX developer):
> I have to say that we play dirty tricks with our menus, which are generated on-the-fly just before opening them.
I remember we had a similiar issue with other menus, but cannot find the ticket.
Git commit 73339208cd3469e37eb0ef5555e3de5544cb0a8e by Kai Uwe Broulik.
Committed on 19/11/2018 at 09:07.
Pushed by broulik into branch 'Plasma/5.14'.
[DBusMenuImporter] Don't call removeAction() to avoid an empty QMenu
As soon as QMenu becomes empty it is closed. This can happen when the application completely reloads its menu.
Instead, call deleteLater which will destroy the QAction later at which point it is automatically removed from the menu.
CHANGELOG: Fixed global menu misbehaving and unexpectedly closing with certain applications
Differential Revision: https://phabricator.kde.org/D16297
M +3 -1 libdbusmenuqt/dbusmenuimporter.cpp
Thanks for fixing this.
Can the fix also be applied to the Active Window Control applet? It has the same code.
Maybe this is not the right place to ask, but I do not know how else to do this.