domferr / tilingshell

Extend Gnome Shell with advanced tiling window management. Supports multiple monitors, Windows 11 Snap Assistant, Fancy Zones, customised tiling layouts and more.
https://extensions.gnome.org/extension/7065/tiling-shell/
GNU General Public License v2.0
448 stars 7 forks source link

[Feature Request] Snap assistant when hovering "maximize" or through a dedicated button on the window? #72

Closed AlexandreDecan closed 2 months ago

AlexandreDecan commented 2 months ago

Hello,

First of all, thank you for this great extension!!! :)

Is it technically possible to make the "snap assistant" trigger when you move the mouse over the "maximize" button in a window? (It seems to me that this is the behavior found in Windows, but I'm not sure). Alternatively, would an additional button, alongside "minimize" and "maximize", be possible? This button would cause the "snap assistant" to be displayed near the current window.

This would prevent the snap assistant from being triggered when a window is moved "up", but would also allow the snap assistant to be displayed close to the mouse cursor, regardless of its position. To some extent, it addresses #70 (having the ability of snapping windows without having to use the keyboard) and #26 (no need to "travel" far with the mouse).

domferr commented 2 months ago

Hi, thank you for opening this and I'm so happy you are enjoying Tiling Shell.

I've done some research about this topic. As of today, GNOME doesn't allow to add a new button near the minimize/maximize/close buttons, and it doesn't even allow to perform some actions when the maximize buttons is hovered...

domferr commented 2 months ago

However, it may be cool to show the snap assistant when you right click on the window! This is a mockup:

AlexandreDecan commented 2 months ago

Thanks for your answer! Nice mockup BTW! :-)