Bug 306580 - Panels become foreground against full screen windows
Summary: Panels become foreground against full screen windows
Status: RESOLVED DUPLICATE of bug 296076
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 01:59 UTC by Mikiya Okuno
Modified: 2012-09-13 20:18 UTC (History)
0 users

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 Mikiya Okuno 2012-09-11 01:59:35 UTC
Full screen windows should be placed foreground. However, panels become foreground under certain conditions.

Reproducible: Always

Steps to Reproduce:
1. Open a full screen window. (e.g. Watch a video on Kaffeine, VLC, or run Virtual Box VMs in fullscreen mode)
2. Switch to the other desktop using Pager.
3. A popup window arises. (e.g. http://forum.kde.org/viewtopic.php?f=215&t=101043)
4. Switch back to the desktop where the full screen window resides.
5. Then, panels become foreground.
Actual Results:  
Panels become foreground.

Expected Results:  
Panels should be kept behind the full screen window.
Comment 1 Thomas Lübking 2012-09-11 21:29:45 UTC
> 4. Switch back to the desktop where the full screen window resides.
"How"?
Also: what focus policy do you use?
Comment 2 Mikiya Okuno 2012-09-12 00:13:31 UTC
Thomas,

Thank you for your following up.

> > 4. Switch back to the desktop where the full screen window resides.
> "How"?

Using pager.

Precisely speaking, I usually use keyboard shortcut. If I click the pager in the panel, it's 100% repeatable without step 3. IMHO, a full-screen window must become front after switching the desktop.

> Also: what focus policy do you use?

Click to Focus.

I guess it might be caused because Window ordering is changed system-wide. I suggest to add a logic like below:

* Record whether full-screen window is front before switching the desktop.
* Make the full-screen window front after switching the desktip if such one existed.

Kind regards,
Mikiya
Comment 3 Thomas Lübking 2012-09-12 17:47:49 UTC
Does the fullscreen window still have the input focus when you return (i was not able to reproduce this otherwise)
Comment 4 Mikiya Okuno 2012-09-12 23:44:06 UTC
Yes, it does. I can control them with keyboard. I can reproduce it by clicking the pager widget on the panel.

Kind regards,
Mikiya
Comment 5 Thomas Lübking 2012-09-13 13:18:28 UTC
That is basically bug #296076 then (while not sure what would have altered the stacking order because of the dialog - didn't happen here)

*** This bug has been marked as a duplicate of bug 296076 ***
Comment 6 Mikiya Okuno 2012-09-13 13:55:59 UTC
Thomas,

I'm sorry for the duplicate. So, the original bug's status should be changed to VERIFIED?

Kind regards,
Mikiya
Comment 7 Thomas Lübking 2012-09-13 20:18:44 UTC
No need to sorry.
The bug is verified, regardless of the set state.
The fix is however not trivial and maybe cause "regressions" by the invasive functional change (that has been there as long as kwin...)