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.1k stars 62 forks source link

Resizing of tiled windows should behave like sway/gnome default #274

Open sannagy90 opened 1 year ago

sannagy90 commented 1 year ago

Briefly describe how the feature should work When resizing tiled windows with super+mouse, the windows should not get resized to be bigger/smaller than the available space on the desktop.

Sway resize: sway_resize

Gnome default resize: gnome_default_resize

Gnome with tiling assistant resize: gnome_tiling_assistant_resize

Explain why this feature should be added Resizing would be much easier with mouse when windows are tiled.

Leleat commented 1 year ago

Unfortunately, that's not really possible. If the user grabs a corner, they will always be able to resize 'tiled' windows diagonally. The reason is that Tiling Assistant and all other tiling extensions can only do fake-tiling. That means we only move and resize floating windows programmatically so that the windows look tiled. However, in the end they will still be floating windows. So the user can resize them freely. It's a limitation of being a GNOME Shell extension.

I guess I could workaround this by 'forcing' (resizing/moving) windows back into their tile once the grab is released. it's not a great solution, but probably the only one.