Bug 251443

Summary: Panel should not lose focus when switching between apps
Product: [Plasma] plasma4 Reporter: Leandro Glossman <lglossman>
Component: panelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, hr.denzler
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Leandro Glossman 2010-09-16 14:25:56 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

When "Windows can cover" option is enabled, the panel should'n hide when switching between windows. This makes the process very tedious and is not how it works in every other desktop environment.

Reproducible: Always

Steps to Reproduce:
Set the panel to "Windows can cover", and switch between maximized windows through the task manager plasmoid.

Actual Results:  
The panel hides.

Expected Results:  
The panel should not hide.
Comment 1 Hans-Rudi Denzler 2010-09-16 21:33:52 UTC
If "Windows can cover" the panel, the panel hides.
You may take the next option, if the panel should not hide.
Comment 2 Leandro Glossman 2010-09-16 21:55:57 UTC
No, actually windows covering panel is OK, but not until I finshed working with it. In Windows and OS X it works that way and i think it's the right way. Just try it and you will see what i'm talking about...
Comment 3 Aaron J. Seigo 2010-09-16 22:04:12 UTC
"but not until I finshed working with it"

agreed; the fix may not be completely trivial, though, as the tasks widget simply asks for the activated window to be moved on top.

it may be as simple as clearing the NET::KeepBelow state of the panel until hiding is triggered.

let's see ...
Comment 4 Aaron J. Seigo 2010-09-16 22:08:00 UTC
SVN commit 1176149 by aseigo:

keep above when unhidden, keepbelow when hidden
BUG:251443


 M  +2 -0      panelview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1176149
Comment 5 Aaron J. Seigo 2010-09-16 22:10:29 UTC
SVN commit 1176152 by aseigo:

keep above when unhidden, keepbelow when hidden
CCBUG:251443


 M  +2 -0      panelview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1176152
Comment 6 Leandro Glossman 2010-09-17 16:54:43 UTC
It works great!