Bug 352278 - Auto-hide panels show on notification popup and don't hide again
Summary: Auto-hide panels show on notification popup and don't hide again
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-04 16:10 UTC by Martin Klapetek
Modified: 2016-11-08 13:29 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klapetek 2015-09-04 16:10:35 UTC
There is that bug that Plasma Dialogs/Applet popups appear in the taskbar for a split second (bug 332024) and a consequence of that bug is that if there is a panel with task manager and the panel is hidden, this panel is raised on every notification (which is a Dialog), but then it's never hidden again unless it receives some mouse hover events, which is less than ideal.

Ideally this would be solved by fixing bug 332024 though there is no clear solution currently, so maybe the panel hiding code could be revisited too.

A random thought: I guess it's the task manager asking for the panel raise, so maybe the task manager should also ask for the panel to be lowered again when that window entry disappears?
Comment 1 Eike Hein 2015-09-05 16:54:28 UTC
IIRC this works by the Task Manager setting the plasmoid status to demanding attention, and it's indeed supposed to cancel that when there's no more relevant window around. Either that's broken, or the panel logic decides the user has to acknowledge anyway. I'll look into it next week in Randa.
Comment 2 Eike Hein 2015-09-21 12:29:49 UTC
The Task Manger plasmoid correctly sets PlasmaCore.Types.PassiveStatus, so the rest is up to the panel.
Comment 3 Martin Klapetek 2015-09-21 16:40:40 UTC
Can you please tell me where is that happening in TM? I'd like to put some debugs here and there and investigate what's going on.
Comment 4 Eike Hein 2015-09-21 17:21:32 UTC
Sure, see the updateStatus() function in main.qml of the applet.
Comment 5 Johannes Hirte 2016-04-09 10:48:09 UTC
It's also happening when playing videos with mpv. Few seconds after starting the video, the panel comes up and only disappears when moving the mouse over and off again.
Comment 6 duckdodger 2016-11-07 14:58:21 UTC
I am able to reproduce this bug still. What is the status of the fix? Should I file a new report?
Comment 7 Eike Hein 2016-11-08 07:14:13 UTC
Please add your steps to reproduce / testing conditions.
Comment 8 duckdodger 2016-11-08 08:41:51 UTC
Well, this is strange. I'm not able to reproduce it now. I had this problem just yesterday when I added a new panel with an icons-only task manager. I guess starting a new session might have fixed it.
Comment 9 David Edmundson 2016-11-08 13:29:35 UTC
Please reopen this if you can reproduce it. I'll close for now as there's nothing we can do.