GNOME Bugzilla – Bug 611167
lots of motion when closing windows in window picker
Last modified: 2010-03-07 22:40:12 UTC
Currently, when I close a window in the window picker the windows shuffle around a lot. This is pretty disorienting. It is especially problematic when one wanted to select a window after closing one - and this is the most common case. This may be related to the fact that almost all of my windows are maximized. In the maximized case the minimum motion positioning is somewhat irrelevant.
Created attachment 154768 [details] [review] [Overview] Base minimum motion on actors When figuring out where to position window previews, use the clone's position instead of the the original meta window. There shouldn't be a difference when entering the overview, but it makes the motion when opening/closing new windows in the overview tinier and more predictable. This improves the problem mentioned above, but it doesn't really adress the issue of previews being repositioned when closing windows. What do you think about delaying the positioning until the workspace area is left? It might be even more annoying, but worth a try?
Created attachment 154884 [details] [review] [Overview] Delay repositioning after closing windows (In reply to comment #1) > What do you think about delaying the positioning until the workspace area is > left? It might be even more annoying, but worth a try? Indeed - it is even more annoying. The attached patch takes pointer motion and position into account when deciding whether the window positioning should be delayed further. It's not too reliable, but it might be step in the right direction ...
Comment on attachment 154768 [details] [review] [Overview] Base minimum motion on actors looks right
on the issue of trying to avoid repositioning altogether: repositioning is only going to be helpful to the user if it makes the windows bigger. So one possibility would be to not bother repositioning unless the scale factor of the new layout would be more than, say, 10% larger than the scale of the current layout.
Comment on attachment 154768 [details] [review] [Overview] Base minimum motion on actors Attachment 154768 [details] pushed as 499c573 - [Overview] Base minimum motion on actors
Review of attachment 154884 [details] [review]: Looks good to me.
Closing the bug because git-bz is so incredibly convenient, feel free to reopen if you feel that there are still unwritten patches ... Attachment 154884 [details] pushed as 40b0459 - [Overview] Delay repositioning after closing windows