Activity log for bug #173303

Date Who What changed Old value New value Message
2007-12-01 19:22:03 Bogdan Butnaru bug added bug
2007-12-01 19:22:19 Bogdan Butnaru compiz: assignee bogdanb
2007-12-01 19:38:38 Bogdan Butnaru bug added attachment 'fix-fullscreen-toggle-stacking.patch' (fix-fullscreen-toggle-stacking.patch)
2007-12-01 19:40:02 Bogdan Butnaru compiz-fusion-plugins-extra: status New In Progress
2007-12-01 20:02:28 Bogdan Butnaru description Binary package hint: compiz While I was posting the previous two window stacking bug reports, I noticed another, similar problem: (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-screen-ize" (?) the top window (A), by 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 updateWindowAttributes() with the stackingMode=CompStackingUpdateModeNormal. (The problematic call is in the file "extrawm.c"). The function is fullscreenWindow(CompWindow*, int). At the end (line 71 in my version) there's a call to updateWindowAttributes (w, CompStackingUpdateModeNormal) However, changing from full-screen to non-full-screen should not change the stacking. So I believe the call should be changed to: updateWindowAttributes (w, CompStackingUpdateModeNone) I tried it, and the stacking works correctly. 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-screen-ize" (?) the top window (A), by 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 updateWindowAttributes() with the stackingMode=CompStackingUpdateModeNormal. (The problematic call is in the file "extrawm.c"). The function is fullscreenWindow(CompWindow*, int). At the end (line 71 in my version) there's a call to updateWindowAttributes (w, CompStackingUpdateModeNormal) However, changing from full-screen to non-full-screen should not change the stacking. So I believe the call should be changed to: updateWindowAttributes (w, CompStackingUpdateModeNone) I tried it, and the stacking works correctly.
2008-02-05 18:02:57 Bogdan Butnaru compiz-fusion-plugins-extra: status In Progress New
2008-02-05 18:02:57 Bogdan Butnaru compiz-fusion-plugins-extra: assignee bogdanb
2008-03-11 15:22:51 Travis Watkins compiz: importance Undecided Low
2008-03-11 15:22:51 Travis Watkins compiz: status New Triaged
2008-03-11 15:23:23 Travis Watkins bug added attachment 'stacking_fixes.patch' (fix for stacking issues with fullscreen windows)
2008-03-12 20:05:05 Launchpad Janitor compiz: status Triaged Fix Released
2011-04-08 02:44:20 Launchpad Janitor branch linked lp:ubuntu/compiz