Bug 519592 - When specific critical notifications are disabled, they appear in DND mode anyway
Summary: When specific critical notifications are disabled, they appear in DND mode an...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Free space notification (other bugs)
Version First Reported In: 6.6.4
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 524487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-04-30 01:10 UTC by nttkde
Modified: 2026-10-27 12:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.9.0
Sentry Crash Report:


Attachments
stuck notification and settings of the low disk space notifier (61.56 KB, image/jpeg)
2026-04-30 01:10 UTC, nttkde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nttkde 2026-04-30 01:10:53 UTC
Created attachment 191918 [details]
stuck notification and  settings of the low disk space notifier

After receiving a low space warning notification of my often-full disk partition, I disabled the notification, or so I thought. 
I had unticked "Show popups" and "Show in history" in the Low Disk Space notification settings. From the text alone, it's not quite clear to me what does the "Show a message in a pop-up" choice do (how is it different from "Show popups").

However, now when disc space gets low on the partition, a notification pops up nevertheless. It also pops up on top of a full-screen app as (I guess) it is set to critical priority.

The notification can not be closed (it doesn't react to pressing the close button) and pressing any of the other buttons in it does not have any effect, either.

If I keep filling the partition it is warning about, more of the notifications will eventually pop up; so there could be eg. three unclosable notifications stuck on my screen.

Operating System: KDE neon User Edition
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.10.2
Kernel Version: 6.17.0-22-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX Vega
Comment 1 TraceyC 2026-05-11 21:16:50 UTC
There is another notification called "Battery Critical" for when the battery is even lower than "Battery Low". 
From my own system, disabling the check boxes at the top, right under the Power Management heading does *not* disable the individual ones for the battery levels

Have you tried unchecking the "Battery low" and "Battery Critical" notification types?
Comment 2 nttkde 2026-05-13 17:54:32 UTC
Personally I can't really test the battery notifications as I do not have a laptop. However, I found out that at least the (low-priority) notifications under 'Network management' category do seem to respect the 'Show popups' checkbox at the top in a sensible way; it does seem to collectively disable the individual notifications in the category, and I don't get the 'Connection activated'/'Connection deactivated' notifications when (un)plugging my ethernet cable.
Comment 3 Justin Zobel 2026-09-04 03:41:50 UTC
I've just tested this and I can dismiss the popups without any issue. However, clicking on the "Configure Warning" button does nothing.

Can you please confirm if the inability to close the popup is still an issue on a recent version of Plasma (6.7.4)
Comment 4 nttkde 2026-09-13 17:32:03 UTC
Still happens in Plasma 6.7.5, the close button does nothing and neither do any of the other buttons on the notification.
Comment 5 TraceyC 2026-09-14 19:20:14 UTC
This may be a long shot, but can you reproduce the same bug with a brand new user and default settings?
Comment 6 Bug Janitor Service 2026-09-29 03:48:08 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 nttkde 2026-09-29 16:31:53 UTC
Alright, I was able to reproduce the bug also in a new installation in a virtual machine, both in KDE Neon User Edition as well as in Kubuntu 26.04.1.

And I figured out an important detail:
If I disable the notification by unticking "Show popups" as in the original attached image of the settings page, then IF AND ONLY IF I have a FULLSCREEN APP (eg. 0 A.D. in fullscreen, or youtube video playing in fullscreen) active, then the unclosable notification will pop up shortly after a disk gets full.
If I do NOT have a fullscreen app open, then the notification will not pop up.

If I enable "Show popups" then the notification works normally, ie. I can close it normally when it pops up, whether or not I have a fullscreen app open.

If I disable both the "Show popups" and "Show a message in a pop-up" then the notification does not seem to pop up ever (as expected).



It's just that "Show popups" disabled + "Show a message in a pop-up" enabled + fullscreen app active combination that leads to the bizarre outcome.
Seems to happen both in Wayland and X11.


(The threshold for showing the notification seems to be less than 200MiB free space on a disk, in case that helps someone who wants to test it.)
Comment 8 Nate Graham 2026-09-30 13:58:03 UTC
That's interesting. Is it *only* the "Low free space" notifications that behave in this way, or does *any* disabled notification erroneously appear while the system is in Do Not Disturb mode?
Comment 9 nttkde 2026-09-30 22:00:41 UTC
(As Nate knew, it is indeed more specifically the Do Not Disturb mode where the bug occurs, rather than 'any fullscreen app' (which enables the DND mode automatically). The Low free space notification does get stuck in manually enabled Do Not Disturb mode, no fullscreen app is required.)


I tried with couple other notifications that I could get to trigger easily and those did not seem to erroneously appear in the DND mode, but, also, those did not have 'critical' priority. "Low free space" is a 'critical' priority notification.

And then I noticed there is this Visibility setting "Critical notifications: Show in Do Not Disturb mode" on the main Notifications settings page.
Just a theory and I haven't looked into the code; but I wonder if the logic for that is incorrect, so that it ignores and overrides the Show popups settings, and literally just shows any critical notification if DND mode is enabled, that then for some reason end up broken when the Show popups is simultaneously disabled.
If I disable the setting, then the disabled free space notification does not erroneously pop up in DND mode.

Also I wonder if logic of the "Low priority notifications: Show popup" is weird in a similar way; because if I disable both "Show popups" and "Show a message in a pop-up" for Device Notifier (just Play sound enabled), it still seems to show the notification when I plug in a USB stick, unless I disable "Low priority notifications: Show popup".
Comment 10 Nate Graham 2026-10-19 18:54:25 UTC
I can reproduce that. Yeah, it looks like you pinpointed the cause!
Comment 11 Nate Graham 2026-10-21 14:39:27 UTC
Git commit 0fe85f33a494e53f50a2c6c967ba0f3a387e3c86 by Nate Graham, on behalf of Ramil Nurmanov.
Committed on 21/10/2026 at 14:39.
Pushed by ngraham into branch 'master'.

notifications: Respect disabled popups in Do Not Disturb mode

Critical notifications received in Do Not Disturb mode could appear even
when popups were disabled for their application or service, because the
notification filter ignored the blacklist by default.

Default `ignoreBlacklistDuringInhibition` to false so popup filtering
respects these settings.
FIXED-IN: 6.9.0

M  +1    -1    applets/notifications/global/Globals.qml
M  +3    -0    applets/notifications/main.qml
M  +37   -12   libnotificationmanager/notificationfilterproxymodel.cpp
M  +12   -1    libnotificationmanager/notificationfilterproxymodel_p.h
M  +31   -0    libnotificationmanager/notifications.cpp
M  +14   -0    libnotificationmanager/notifications.h
M  +12   -0    libnotificationmanager/utils.cpp
M  +2    -0    libnotificationmanager/utils_p.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/0fe85f33a494e53f50a2c6c967ba0f3a387e3c86
Comment 12 Niccolò Venerandi 2026-10-27 12:15:51 UTC
*** Bug 524487 has been marked as a duplicate of this bug. ***