Bug 401096

Summary: [Feature] Notification filtering per activity
Product: [Plasma] kactivitymanagerd Reporter: Vincent Petry <PVince81>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: REPORTED ---    
Severity: normal CC: ericedlund2017, plasma-bugs
Priority: NOR    
Version: 5.14.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

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.