Bug 401096 - [Feature] Notification filtering per activity
Summary: [Feature] Notification filtering per activity
Status: RESOLVED LATER
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activities in general (other bugs)
Version First Reported In: 5.27.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-16 09:51 UTC by Vincent Petry
Modified: 2025-10-21 07:36 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Petry 2018-11-16 09:51:29 UTC
Steps:

1. Setup one activity called "work"
2. Setup another one called "focus"
3. On activity "work", open chat program (in my case RocketChat, which is Electron-based)
4. On activity "work", start thunderbird with some configured email client and leave notifications on
5. Switch to "focus" activity
6. Close the "work" activity because you want to focus and not get disturbed.
7. Wait until someone sends a message on RocketChat or email.

Expected result:
RocketChat and thunderbird should be closed, no notifications should appear from a closed activity.

Actual result:
I still get "RocketChat" notification in the task bar. When I click on it, it resumes the "work" activity.

My expectation of a closed activity is that it should not have any more running processes and it should stay closed. Not sure if this is a misunderstanding of the use cases for activities or a bug.

Now this could also be a bug with non-KDE apps, I haven't tried with those yet.
Comment 1 Vincent Petry 2018-11-16 09:52:35 UTC
I forgot to mention that I have an IDE open on the "focus" activity, so it's not like I only want to inhibit notifications but really want to use the computer on other tasks while not being disturbed.
Comment 2 Paul Worrall 2025-03-14 10:02:41 UTC
Or (maybe simpler?) make "Do not disturb" mode Activity-specific
Comment 3 Niccolò Venerandi 2025-10-21 07:36:18 UTC
Activities are currently being restructured a bit and we're undergoing a re-think of what exactly they should modify within the system; what you're asking is essentially to change a system setting (do not disturb / custom notifications) when changing activities, and I think that right now it's better to see how this re-work goes on before tackling such issues, especially since very few people are working on this feature and this risks becoming an open feature request for a long time.