Bug 404857

Summary: Application Menu keeps focus on quick virtual desktop change
Product: [Plasma] plasmashell Reporter: veggero <niccolo.venerandi>
Component: Global Menu widgetAssignee: ratijas <me>
Status: CONFIRMED ---    
Severity: normal CC: mvourlakos, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example to reproduce the bug

Description veggero 2019-02-26 20:29:26 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a Global Menu
2. Add some Virtual Desktops
3. Set a easy to press key to switch Virtual Desktops, e.g.: meta+left, meta+right
4. Open a window in a Virtual Desktop
5. Switch to the Virtual Desktop near said window
6. Switch to the Virtual Desktop with the window, but quickly get back to the empty Virtual Desktop

OBSERVED RESULT

The Global Menu of the application is still shown.

EXPECTED RESULT

The Global Menu is hidden as no application has focus in this Virtual Desktop.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.1
(available in About System)
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION

Please note that this happens often to me simply going from a busy Virtual Desktop one to a empty one, but this is the easiest way to reproduce.
Comment 1 veggero 2019-02-26 20:34:04 UTC
Created attachment 118389 [details]
Example to reproduce the bug
Comment 2 ratijas 2022-09-22 23:16:53 UTC
This is going to be fixed as a part of https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2157