Bug 376269 - panel stays in front when a yellow task in the panel task manager
Summary: panel stays in front when a yellow task in the panel task manager
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.9.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
: 377234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-10 06:56 UTC by Bronson
Modified: 2017-03-06 00:06 UTC (History)
3 users (show)

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


Attachments
mellow yellow (32.15 KB, image/jpeg)
2017-02-10 06:56 UTC, Bronson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bronson 2017-02-10 06:56:45 UTC
Created attachment 103942 [details]
mellow yellow

Set panel to "windows can cover".
With this enabled I find that every now and then a yellow task (see the screenshot) appears, and prevents the panel from going behind the active window. 

Its pretty frustrating, from this screenshot the firefox window is my active window, which should be in front of the panel, but it is not because there is some yellow task on a second monitor.

What is this, and can this behavior be fixed?
Comment 1 Christoph Feck 2017-02-17 02:43:09 UTC
I guess that this window raised a "needs attention" status, for whatever reason. For example, I get this in Konversation, when the connection to the server is lost, and it tries to reconnect.

To be able to see the "needs attention" status, Plasma decides to keep the Panel visible, until you use that window to confirm, so it most likely is intended behavior.

But I do not know what application "Video" is, so it just speculation.
Comment 2 Bronson 2017-02-17 07:47:57 UTC
video is just a panel. It is nothing other than a window. 
Ive noticed also thunderbird does the same thing when a new email arrives. It becomes yellow and has the same locking behavior.

Is there no way to disable this? It seems to be as you said some kind of notification that is unimportant.
Comment 3 David Edmundson 2017-02-17 12:08:31 UTC
KDE applications allow you to configure what events a window sets itself as "demanding attention" -> see Notifcations in system settings.

I don't think "video" is one of those apps. If it sets itself to something weird, there's not a lot we can do about it.



If you want to remove it locally remove these lines in main.qml of the taskmanager:
    Binding {
        target: plasmoid
        property: "status"
        value: (tasksModel.anyTaskDemandsAttention
            ? PlasmaCore.Types.NeedsAttentionStatus : PlasmaCore.Types.PassiveStatus)
    }




It's not something we will make an option as this is working exactly as intended.
Comment 4 David Edmundson 2017-03-06 00:06:24 UTC
*** Bug 377234 has been marked as a duplicate of this bug. ***