Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sand-r opened this issue Jul 2, 2023 · 1 comment
Open

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

sand-r opened this issue Jul 2, 2023 · 1 comment
Labels
enhancement Improve this extensions

Comments

@sand-r
Copy link

sand-r commented Jul 2, 2023

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.

@sand-r sand-r added the enhancement Improve this extensions label Jul 2, 2023
@Leleat
Copy link
Owner

Leleat commented Jul 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve this extensions
Projects
None yet
Development

No branches or pull requests

2 participants