Bug 379258 - Global menu does not update properly if application adds new menu items
Summary: Global menu does not update properly if application adds new menu items
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: 5.9.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-26 15:56 UTC by Kishore Gopalakrishnan
Modified: 2017-08-25 09:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2017-04-26 15:56:41 UTC
When applications change the items shown in the menubar, the global menu does not update properly. Instead of replacing the old items with the new items, it adds the new entries to the right of the old entries, with the old entries becoming no longer clickable. Trying to click on the old entries sometimes crashes plasmashell. This happens only with the global menu plasmoid. The global menu which appears as a dropdown menu in the titlebar of applications updates properly.

Till now, I have been able to reproduce this with FreeCAD (menu items change depending on the workbench selected). FreeCAD uses qt4, and I'm using appmenu-qt4 (package: https://www.archlinux.org/packages/community/x86_64/appmenu-qt4/ ) (upstream URL: https://launchpad.net/appmenu-qt )to allow the global menu to work for qt4 applications.
Comment 1 Kishore Gopalakrishnan 2017-08-25 09:22:30 UTC
I tried with the qt5 version of FreeCAD, and the bug does not occur. This seems to be a bug in the appmenu-qt4 program, and not plasmashell itself.
Comment 2 Kai Uwe Broulik 2017-08-25 09:29:14 UTC
Thanks for investigating. I'll close this then, Qt4 global menu isn't really supported anymore (definitely not tested with Plasma 5 anyway)