Leleat / Tiling-Assistant

An extension which adds a Windows-like snap assist to GNOME. It also expands GNOME's 2 column tiling layout.
GNU General Public License v2.0
1.11k stars 64 forks source link

Apps are not windows: Don't group windows by application (in the tiling popup) #298

Open janopae opened 10 months ago

janopae commented 10 months ago

Briefly describe how the feature should work

Instead of grouping windows by application in the tiling popup, I propose showing all windows ungrouped (along with a window preview) as long as the window list is short enough.

In case we need to handle too many windows to fit on the screen, the view could still become scrollable. If the windows are sorted by a heuristic for their relevance (e. g. "recently used", like in the [alt]+[tab] pop-up), this would ensure that the most relevant windows would still easily be accessible.

Explain why this feature should be added

Explaining why 2 files are shown in 2 different groups currently basically requires explaining file formats, the idea of programs being needed to paint the file contents on screen, and file format support of programs. This is complicated and technical stuff if you think about it.

Leleat commented 2 months ago

@Leleat Is this feature going to be dropped? If yes, this would significantly ease the implementation of https://github.com/Leleat/Tiling-Assistant/issues/298. If not, I'd try to support this in my implementation.

I am going to continue the discussion here since it's related to this feature request (so that we won't ping the other user).

Eventually, I will drop tilegroups-in-app-switcher. Maybe the next time I am going to remove the older GNOME Shell support. But I have no specific plans ATM. But I'll be happy if someone reworks the altTab code, since it kinda sucks and is a lot of copy-pasta from GNOME Shell's altTab/SwitcherPopup.

That said, just to be sure that we are on the same page, I don't mind adding a window-based Tiling Popup. But if you implement it, please make it an opt-in feature that can be toggled in the preference window. I personally prefer the app-based approach since it keeps the list short and it fits better with GNOME since GNOME Shell also uses the app-based AltTab by default.

janopae commented 2 months ago

Okay, I'll set out to do this, but having the option makes the implementation even more complicated, so I can't say when.

Would you be fine with binding the option to which kind of overview is bound to alt+tab?

Ubuntu uses the window switcher by default on alt+tab, therefore I think it makes sense for this to be the default on Ubuntu.

Leleat commented 2 months ago

Would you be fine with binding the option to which kind of overview is bound to alt+tab?

Ubuntu uses the window switcher by default on alt+tab, therefore I think it makes sense for this to be the default on Ubuntu.

Sure, sounds good to me.