Bug 453301

Summary: Global Menu broken by 2e056ed6e563f5f0fd7975186db8238adb20b6cf in plasma-workspace
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: Global MenuAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, mvourlakos, pereira.alex
Priority: VHI Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2022-05-02 14:38:16 UTC
With https://invent.kde.org/plasma/plasma-workspace/-/commit/2e056ed6e563f5f0fd7975186db8238adb20b6cf, the global menu no longer works in Dolphin, Konsole, and all other apps I try. Clicking on text in the bar doesn't open a menu. Reverting the commit fixes it.
Comment 1 Nate Graham 2022-05-02 20:10:06 UTC
Will be fixed with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1701
Comment 2 Nate Graham 2022-05-03 14:24:37 UTC
*** Bug 453182 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2022-05-10 17:27:44 UTC
Git commit 6790b66cf304f339b32f215b5f7db7f596dd0466 by Nate Graham, on behalf of Kai Uwe Broulik.
Committed on 10/05/2022 at 17:18.
Pushed by ngraham into branch 'master'.

[Global Menu] Fix breakage caused by variant type change

`void *` casts into anything but `QVariant::value()` (most of the time)
does a metatype check which needs to match.

Also, we need to unwrap the `QPointer`.

M  +3    -9    applets/appmenu/lib/appmenuapplet.cpp
M  +1    -1    applets/appmenu/plugin/appmenumodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/6790b66cf304f339b32f215b5f7db7f596dd0466