G-dH / vertical-workspaces

V-Shell is a GNOME Shell extension that allows you to customize the layout and behavior of the Shell UI.
GNU General Public License v3.0
228 stars 19 forks source link

[FEATURE] Allow reorganizing windows in the overview. #69

Open itzTheMeow opened 1 year ago

itzTheMeow commented 1 year ago

I think it would be cool to be able to reorder the windows on this page by dragging them. I can't seem to find a way to do it from any other extension.

image

G-dH commented 1 year ago

It could be cool but I don't belive anybody would actually use it. Much useful and easier to implement would be to automatically sort windows by MRU, alphabetically or by a custom list of strings from app names and window titles.

itzTheMeow commented 1 year ago

I tend to use the touchpad to swipe up and see all my windows, its quicker to navigate if i can move the windows into the same position every time. Sorting the windows by a custom list or alphabetically would be helpful too.

G-dH commented 1 year ago

The default algorithm optimizes the positions of window previews for the shortest path from the original window, the rest is determined by the window opening sequence. So you should be able to achieve the same positions every time if you open the windows in the same order and have the same position and size. It's the most simple with full-screen windows, there it's only about the opening sequence. Only restarting GNOME Shell for some reason changes the window opening sequence according to MRU so that the last window used is the last one open.

343i commented 1 year ago

I suspect this would be niche and quite complex to achieve correctly