Bug 492384 - Don't let task enter "needs attention" state when window on a different activity asks for attention
Summary: Don't let task enter "needs attention" state when window on a different activ...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-30 02:58 UTC by arthur.caccavo
Modified: 2024-12-05 23:09 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arthur.caccavo 2024-08-30 02:58:14 UTC
SUMMARY
When I start my browser I set some window rules for the windows to open on specific activities. But all windows demand attention and as so I need to focus them at least once for it to stop blinking in my taskbar even though they are on other activities so turning my computer on and opening the browser mean visiting each activity and clicking each window there which is not optimal :(

STEPS TO REPRODUCE
1. Use window titler to title some firefox windows (example anything you can have open on multiple activities at the same time would do)
2. Set a window rule for each title to open the window on a different activitie
3. Reboot and open firefox (again, an exemple)

OBSERVED RESULT
The application icon keeps blinking for attention until all windows are focused once

EXPECTED RESULT
It would be nice to the "Wants Attention" behavior to be configurable to only apply to windows on current activity.
Alternatively, it would be sufficient to have a window rule to disable "Wants Attention" from specific windows/apps.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.46-1-MANJARO (64-bit)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-08-30 16:16:32 UTC
If this was possible, then when a window on another activity wanted attention for legitimate reasons, you'd miss it, right?
Comment 2 arthur.caccavo 2024-08-30 19:42:44 UTC
Yes, I would but that's the point for me. I don't want to be bothered by windows on other activities until I switch there. I try to separate work, personal and academic context and focus on one thing at a time. Notifications, prompts and interactions should not bleed between activities, or at least an option for it would be nice as this is my case, maybe other users have other use cases. But the most bothersome is this window opening behavior, the browser is most noticeable because it spawns many windows in a click, but I also have the same problem with dolphin, for example.
Comment 3 Nate Graham 2024-09-03 18:50:01 UTC
Ok, that sounds fair.
Comment 4 David Redondo 2024-09-04 10:18:46 UTC
> Yes, I would but that's the point for me. I don't want to be bothered by windows on other activities until I switch there

You can configure taskmanager so it only shows windows from the current activity
Comment 5 arthur.caccavo 2024-09-04 12:05:26 UTC
(In reply to David Redondo from comment #4)
> > Yes, I would but that's the point for me. I don't want to be bothered by windows on other activities until I switch there
> 
> You can configure taskmanager so it only shows windows from the current
> activity

I have already done this. But the "wants attention" still bleeds into other activities.
Comment 6 arthur.caccavo 2024-09-12 21:05:58 UTC
I got so used on: turning pc on > opening browser > changing activities > clicking all windows; that I just realized the issue don't always happen, sometimes I will turn on and when opening the browser it will ask for attention, other times it will not.

But in the times it does not ask for attention it also does not ask attention once I switch to the activity that has the windows so maybe this is another problem that's making the window just no ask for attention at all.
Comment 7 arthur.caccavo 2024-12-05 23:09:19 UTC
There was a related change but not really solving the problem, now when I click on the window asking for attention I'm sent to the activity where the window is. This is somewhat bothersome but a little bit better. It would still be nice to be able to completely ignore attention seeking from other activities.