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.
Created attachment 118389 [details] Example to reproduce the bug
This is going to be fixed as a part of https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2157