Bug 508647

Summary: When notifications are received while the screen is locked, notification about being in Do Not Disturb mode only appears for one frame
Product: [Plasma] plasmashell Reporter: Fernando M. Muniz <fernandommuniz>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, kristen, nate
Priority: NOR    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=507073
https://bugs.kde.org/show_bug.cgi?id=497597
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fernando M. Muniz 2025-08-23 15:11:00 UTC
STEPS TO REPRODUCE
Receive a notification while your notebook's lid is closed, which should trigger Do Not Disturb.

OBSERVED RESULT
The notification saying that I missed notifications because of Do Not Disturb appears for 1 frame.

EXPECTED RESULT
Being able to read the notification for the default timer (7 seconds, I believe).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
1. I haven't tested if just locking the session without closing the lid would cause the same issue.
2. This bug might be related to Bug 497597 , because the DND notification timer to fade out could be starting the moment a notification is received, instead of when the user unlocks the session.
3. This could be affecting Bug 507073 too, but I haven't time how long the notification stays after exiting full screen.
Comment 1 Fernando M. Muniz 2025-08-23 15:18:54 UTC
It needs to be checked if the timer of the DND notification activated by the system takes into account that the reason it's active is because the system is currently unable to show notifications, so the timer for the DND notification should only count down once the system automatically deactivates DND.
Comment 2 Nate Graham 2025-08-26 21:06:49 UTC
> Receive a notification while your notebook's lid is closed, which should trigger Do Not Disturb.
Do you have your system configured to sleep when the lid is closed?

Are there any external screens plugged in at the moment you close the log?

JFYI we don't generally use the "usability" keyword for simple bugs that ought to be fixed.
Comment 3 Fernando M. Muniz 2025-08-26 21:21:31 UTC
1- It's set to "Lock screen".
2- No.
Comment 4 Nate Graham 2025-08-26 22:28:46 UTC
Got it. Can reproduce. Apparently the lock screen counts as a fullscreen app. But something goes slightly wrong.