Bug 214320 - "keep above others" button not always working properly
Summary: "keep above others" button not always working properly
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 23:41 UTC by Jakub Zakrzewski
Modified: 2009-12-09 11:43 UTC (History)
1 user (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 Jakub Zakrzewski 2009-11-12 23:41:51 UTC
Version:            (using KDE 4.3.3)
Installed from:    Ubuntu Packages

Pre:
Go To KDE Control Module -> Windows -> Buttons
and add the "Keep above Others" button to the titlebar.

Now select "keep above others" for one window called A.
Then change to another window called B, which is probably
partially hidden by the window A.

Now, press again the button "keep above others" which
now is described as "do not keep above others" of
the window A. Then come again to window B using the mouse and
not the Alt+TAB combination.

In my case the window A is still above window B until 
I press some part of the window A a come to the window B again.
Comment 1 Thomas Lübking 2009-11-13 16:10:52 UTC
As you obviously do not the normal click-focus model:  what's your focus setup?
Comment 2 Jakub Zakrzewski 2009-11-13 16:15:13 UTC
My focus policy is:
Focus stealing prevention level: Normal
Policy: Click to Focus
Enabled: click raises active window
Comment 3 Thomas Lübking 2009-11-13 16:28:26 UTC
Sorry, then i must have misunderstood you.
After deleting the "keep above" flag, the window will not automatically change it's stack position.
So if you set A to "keep above", activate B and then unset A from "keep above", A will still be above B - you have to click B to get it above A.

If this is what you expected and it doesn't work this way, then your version is broken (but it works in current trunk) - otherwise please re-explain what behaviour you do expect.

also:
do you use the oxygen deco, or which and have you tried another?
Comment 4 Jakub Zakrzewski 2009-11-13 19:10:37 UTC
The behaviour I expect is as you wrote.
What actually happens, is that after I unset "keep above" and click B, A is still above B and not as expected below it. 
Yes, I use the oxygen deco, but checked also with the plastique deco, with the same, unexpected behaviour. 
So, I'm waiting for updates :)
Comment 5 Martin Flöser 2009-12-06 13:16:53 UTC
Sorry I cannot reproduce. After disabling keep above in window A and clicking on window B, window B is raised above window A. That's exactly what I expect. So I can't see any bug there. I tried with and without compositing.
Comment 6 Jakub Zakrzewski 2009-12-09 11:30:25 UTC
I can only confirm that for version 4.3.4 the problem does not exist anymore.
@5
If you are using KDE 4.3.3 try to first enable 'keep above others' for window A, then switch to other windows, come back to the window A, enable the 'shade' option, disable 'keep above others' and switch to other window. For me in this case window A will be still above others. 

I wrote this new scenario because when I tried to simple enable 'keep above others' and disable it and then switch to any other window, everything worked fine. But after enabling 'shape' it did not always work fine.

But as I wrote, on my second machine with KDE 4.3.4 installed everything works fine and the bug could not have been reproduced.
Comment 7 Martin Flöser 2009-12-09 11:43:45 UTC
(In reply to comment #6)
> But as I wrote, on my second machine with KDE 4.3.4 installed everything works
> fine and the bug could not have been reproduced.

So it's fixed