Bug 492308

Summary: Panel stays visible despite full-screened app on two monitors when opening and closing apps
Product: [Plasma] plasmashell Reporter: Karl <kl>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, niccolo.venerandi
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.1.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Karl 2024-08-28 10:37:44 UTC
When opening a window over a full-screen app (e.g. a web-browser playing a video) and closing the window again the panel stays visible when having 2 monitors in certain circumstances.

STEPS TO REPRODUCE
1. Open a web-browser (or another full-screenable app) on screen A
2. Open 2 other apps, put one on screen A and the other screen B.
3. Put the web-browser in full-screen mode (e.g. by pressing F11 or opening a video in full-screen). The other app on screen A should now not be visible.
4. Focus the app on screen B.
5. Open the app on screen A with a shortcut (e.g. alt tab).
6. Minimize the app again.

OBSERVED RESULT
After minimizing the app the panel at the bottom of the screen A is still visible.

EXPECTED RESULT
After minimizing the app the panel at the bottom of screen A should disappear. It was only shown while the other app was in focus. Now the only thing on screen A is a full-screen web-browser therefore the panel shouldn't be visible.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: Wayland
(Also happens on X11)

ADDITIONAL INFORMATION
When only having one screen (or doing everything on one screen), the expected result is basically what happens.
1. Focus the full-screened web-browser and have another app in the background/minimized.
2. Alt tab to the other app: The app appears in front of the web-browser and the panel appears.
3. Close the app again: The panel disappears.
Comment 1 Nate Graham 2024-08-28 18:36:21 UTC
With those exact steps on my own multi-screen setup, I can't reproduce this issue in current git master, which will become Plasma 6.2 in a month and a half or so. The high quality of your Steps To Reproduce lead me to believe that I tested this use case faithfully, and that it really is fixed, so I'm going to mark this as FIXED now. If, however, after you upgrade to Plasma 6.2  you find that it's not fixed for you, feel free to re-open this Bugzilla ticket and we'll investigate the issue to see what's different about your setup vs mine.