compiz window stacking bug (toggling full-screen)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: compiz
(All this is about the latest Compiz from GIT, with "redirect
full-screen" _disabled_.)
Open two windows that you can easily tell apart. (It works with two
terminals, as long as they have different text on them.) Make them
both full-screen; you'll need the Extra WM Actions plugin. (F11,
Alt+Tab, F11.) The point is that you're supposed to have the two
topmost windows in full-screen mode, say A on top of B. The focus is
of course on A. Now "un-full-
pressing F11 again.
I would expect in that case the stacking order would remain unchanged,
i.e. a non-full-screen A on top of a full-screen B. However, A is
pushed below B! As in the previous bugs I posted, it keeps the focus,
though. You can see this by making the B window transparent before the
test, so you can see the typing in the A window through it.
In this case, after full-screen is turned off, the window is passed to
updateWindowAtt
stackingMode=
the file "extrawm.c"). The function is fullscreenWindo
int). At the end (line 71 in my version) there's a call to
updateWin
However, changing from full-screen to non-full-screen should not
change the stacking. So I believe the call should be changed to:
updateWin
I tried it, and the stacking works correctly.
Related branches
Changed in compiz: | |
assignee: | nobody → bogdanb |
description: | updated |
Changed in compiz-fusion-plugins-extra: | |
assignee: | bogdanb → nobody |
status: | In Progress → New |
The attached patch fixes the bug above.