Do Not Disturb
We're actually going to be using the Do Not Disturb
feature in Plasma 6.4.
I say that because previously we had a hack that simply allowed notifications to display over top of fullscreen windows, and do not disturb was only ever used if:
- Screens are mirrored
- During screen sharing
- The user invoked it manually
This was a little odd, and led to some inconsistencies. Plus only Plasma knew
about the user's preference to see notifications in fullscreen, and despite
notifications being inhibited reading org.freedesktop.Notifications.Inhibited
would return false.
I changed this to actually use do not disturb when a fullscreen window is focused. This is more predictable and in-line with what the user would expect, enhancing the UX and communication with other parts of the system and apps.
As a result, we've discovered several bugs that had gone unnoticed! So far:
- Notifications not being marked read
- Showing a summary for unwanted notifications
- Showing a summary every time the user leaves DND
- Not showing critical notifications in DND when we should
- Disabling app-specific notification history also prevents it from participating in DND summaries
My impression is that these bugs were not evident before because few people were actually using the do not disturb feature, thanks to the way we previously handled notifications with fullscreen applications. Everyone has been hard at work getting these fixed and hopefully DND will be more useful, predictable, and reliable! ๐ ๐