GNOME Bugzilla – Bug 704565
alt+tab in classic mode does not sort minimized windows correctly
Last modified: 2015-01-16 21:48:47 UTC
In metacity, alt+tab always sorts minimized windows to the end of the list. In mutter, this behavior was removed as a side effect of fixing bug 693991. This makes alt+tab in gnome-shell classic mode behave confusingly non-classically.
florian, could you have a look at this ?
To be honest, I'm not sure it's a bug we'd want to fix. The change was not accidental, but rather adapting to the new behavior of auto-minimizing fullscreen windows when they loose focus (in which case it is quite confusing when a simple alt-tab doesn't bring them back). We don't change the auto-minimization in classic mode, so IMHO the logic for the change is still valid ...
Yes, the behavior with fullscreen windows makes sense for fullscreen windows. But the behavior with minimized windows does not make sense for minimized windows. So... make them separate states?
Created attachment 255569 [details] [review] Revert "display: Don't put minimized windows at the back of alt-tab" This reverts commit 7e61ef09369a6564ad51d9d654db0e3d104fe0fc.
Created attachment 255570 [details] [review] display: don't treat fullscreen as minimized for purposes of Alt+Tab The shell automatically minimizes fullscreen windows when they are in the background, but they should still keep their normal position in the app/window switcher.
*** Bug 709822 has been marked as a duplicate of this bug. ***
Could someone look at the patch? I continue to bump up against this multiple times a day. In case it wasn't clear, the patch preserves the current behavior for fullscreen windows, and returns to the old behavior only for actually-minimized windows.
Comment on attachment 255569 [details] [review] Revert "display: Don't put minimized windows at the back of alt-tab" /src/core/ does not exist anymore in https://git.gnome.org/browse/gnome-shell/tree/src Hence setting 'needs-rework' as patch does not apply cleanly.
Comment on attachment 255570 [details] [review] display: don't treat fullscreen as minimized for purposes of Alt+Tab /src/core/ does not exist anymore in https://git.gnome.org/browse/gnome-shell/tree/src Hence setting 'needs-rework' as patch does not apply cleanly.
(In reply to comment #8) > (From update of attachment 255569 [details] [review]) > /src/core/ does not exist anymore in > https://git.gnome.org/browse/gnome-shell/tree/src Oops, the patches were against mutter. I guess I wasn't sure whose fault it was when I first filed the bug, and forgot to move it after I figured it out and wrote the patches. But anyway, it looks like the entire "minimize background fullscreen windows" behavior was reverted in 3.14, including reverting the behavior of minimized windows in alt-tab back to how it used to be. *** This bug has been marked as a duplicate of bug 705177 ***