Bug 505169

Summary: 'Do not disturb' notification briefly visible in panel when going into and out of fullscreen
Product: [Plasma] plasmashell Reporter: Tamás Králl <tamaskrall42>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, kristen, materka, nate
Priority: VLO    
Version First Reported In: 6.3.90   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Notifications applet appears in the panel briefly.

Description Tamás Králl 2025-06-03 14:18:12 UTC
Created attachment 182000 [details]
Notifications applet appears in the panel briefly.

SUMMARY
When going into fullscreen, the notification applet thinks it would be relevant to appear on the panel. During the animation of going fullscreen, this is briefly visible. It happens when exiting fullscreen as well. 

Since theoretically a window can't be fullscreen while the panel is visible and vice versa, I don't think this should be the intended behaviour. The notification applet shouldn't appear when the fullscreen triggers the 'Do not disturb' mode.

STEPS TO REPRODUCE
1. Open a fullscreenable app, like Haruna.
2. Go into Fullscreen mode (in Haruna, press F).
3. Exit Fullscreen mode.

OBSERVED RESULT
The notification applet briefly appears in the panel during steps 2 and 3.

EXPECTED RESULT
Notification applet doesn't appear.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.11.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Memory: 8 GiB of RAM (7.7 GiB usable)
Graphics Processor: Intel® HD Graphics 4400
Manufacturer: Hewlett-Packard
Product Name: HP EliteBook 840 G1
System Version: A3009DD10303
Comment 1 Nate Graham 2025-06-03 23:14:50 UTC
That's because in Plasma 6.4, entering full screen mode enters and exits Do Not Disturb mode (by default; you can turn it off). The System Tray is simply visually indicating this reality during the time between when the full screen animation starts and ends.
Comment 2 Tamás Králl 2025-06-04 17:41:14 UTC
I know that's how it works. However, to me it felt kind of buggy since you only see the applet appear for a slight second and you can't interact with it. So if the user hasn't tried 'Do not disturb' before, they won't know what actually happens. If they try to focus the panel while in fullscreen, the applet disappears again. This isn't actually telling the user that they are in DND mode.
Comment 3 Nate Graham 2025-06-04 18:12:11 UTC
Ok, re-opening for consideration.
Comment 4 Kristen McWilliam 2025-06-04 19:26:41 UTC
Its an interesting question; if you don't have the notifications applet pinned to the panel, it needs to show up to indicate something. I'm not sure off the top of my head what a good UX for this would be.