Bug 379241 - Disabling attention-demanding
Summary: Disabling attention-demanding
Status: CLOSED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-26 10:06 UTC by skaumo
Modified: 2023-01-18 18:08 UTC (History)
5 users (show)

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


Attachments
Screen capture of panel flashing (34.05 KB, video/mp4)
2019-06-03 14:11 UTC, spacemant5010
Details
attachment-30546-0.html (327 bytes, text/html)
2022-04-25 22:41 UTC, Lo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skaumo 2017-04-26 10:06:52 UTC
Windows demanding attention, now that 365970 has been added, are overly invasive and irritating.
365970 is a major anti-feature to me, and I absolutely need a way to disable focus-attention.


Please create settings to allow users to:

- constrain attention-demanding windows NOT to demand attention on different desktops
  AC: when a window demands attention on a different desktop, but cross-desktop attention demanding is disabled, nothing should happen.
  AC: when "only show windows from current desktop/screen" setting is enabled, any attention-demanding window from different desktops/screens should NOT show on taskbar.

- set panel NOT to unhide when hidden and a window demands attention
  AC: when a window demands attention and panel-unhide-on-attention-demand is disabled, panel should not unhide

- disable attention-demanding altogether (no flashing on taskbar, no special colouring, etc)
  AC: when any window demands attention and attention-demand is disabled, nothing should happen
Comment 1 spacemant5010 2019-06-03 14:11:56 UTC
Created attachment 120520 [details]
Screen capture of panel flashing
Comment 2 Yuxin Wu 2020-07-27 23:33:24 UTC
Second this. The relevant logic was [committed](https://invent.kde.org/plasma/plasma-workspace/-/commit/1c0593f8ec65392e12ba2608e601251ddcd80e1a) already. What's left to do is to add the UI element to configure this logic.
Comment 3 Lo 2021-05-02 09:15:48 UTC
I had filled out a bug report and found this. I'll just copy what I wrote there

SUMMARY

Windows demanding attention force one to switch to them otherwise they will permanently stay there. This is distracting and should be able to be deactivated. Especially with autohide panels, the panel then overlays part of the window (sometimes important ones) and forces one to break concentration.

Especially during COVID times and working from home, messengers do this and without a method of disabling them, productivity can drop.


STEPS TO REPRODUCE
1. Create an autohide panel
2. Add task manager (either one, normal or icons only)
3. Open messenger and switch away from it
4. Wait for somebody to message you

OBSERVED RESULT

Autohide panel overlays active window.

EXPECTED RESULT

A setting to ignore windows demanding attention.

SOFTWARE/OS VERSIONS

OS: openSUSE Leap 15.2
KDE Plasma-version 5.21.4
Version of KDE-Frameworks: 5.81.0
Qt-version: 5.15.2
Kernel-version: 5.3.18-lp152.69-preempt
Type OS: 64-bit
Graical platform: X11
Processors: 8 × AMD Ryzen 5 PRO 3400G with Radeon Vega Graphics
Memory: 60,7 GiB RAM
GPU: AMD Radeon™ Vega 11 Graphics

ADDITIONAL INFORMATION
Comment 4 Nate Graham 2022-04-25 17:36:27 UTC
When you have an auto-hide panel, you can now make windows that want attention not force the panel to appear. That's as far as we can go here.
Comment 5 Lo 2022-04-25 22:41:00 UTC
Created attachment 148370 [details]
attachment-30546-0.html

That's great! I'll finally be able to add a taskbar again.
Which version of plasma will this fix be in?
Comment 6 Nate Graham 2022-04-25 23:16:18 UTC
Bug 394119 is the one tracking that, and it says the option is in Plasma 5.22.
Comment 7 Yuxin Wu 2023-01-18 07:45:21 UTC
Could you reopen this bug? It is not implemented as far as I can see and Bug 394119 is about a related but different feature.
Comment 8 Nate Graham 2023-01-18 18:08:09 UTC
I don't think we plan to disable the ability for the task manager to show when a window is demanding attention, sorry.