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
207 stars 3 forks source link

Add support for windows being dragged by holding down super key #20

Closed underdoeg closed 2 weeks ago

underdoeg commented 3 weeks ago

Currently tiling assistance only works when dragging windows from the title bar and not when holding the super key.

Awesome extension BTW

domferr commented 2 weeks ago

Hi, thank you for opening this issue! Are you referring to SUPER + ARROW KEY? For example, GNOME default's behavior, when you press SUPER + LEFT ARROW tiles the window to the left (following its default 2 columns)

Awesome extension BTW

Thank you, I'm glad you are enjoying it! Feel free to open a issue for sharing any idea or bug you may have :)

Mordynak commented 2 weeks ago

Hi, thank you for opening this issue! Are you referring to SUPER + ARROW KEY? For example, GNOME default's behavior, when you press SUPER + LEFT ARROW tiles the window to the left (following its default 2 columns)

OP is talking about Gnomes default behaviour of being able to drag a window with the cursor in any location within the window whilst holding the super key.

underdoeg commented 2 weeks ago

Hi, thank you for opening this issue! Are you referring to SUPER + ARROW KEY? For example, GNOME default's behavior, when you press SUPER + LEFT ARROW tiles the window to the left (following its default 2 columns)

OP is talking about Gnomes default behaviour of being able to drag a window with the cursor in any location within the window whilst holding the super key.

yes. that is what i meant. thx

domferr commented 2 weeks ago

Well, that's great since this feature is already under testing and it will be available in the next update! :smile: I'll comment here when it will be published on GSE

domferr commented 2 weeks ago

:heavy_check_mark: Done in version 8.0! The new version is already available on GSE

underdoeg commented 2 weeks ago

i have already ulgraded to v8. but it looks like it is not working for me. i should be able to first drag the window with super key and then see the tiling options with ctrl key?

domferr commented 2 weeks ago

Hi @underdoeg, you can go to the extension preferences and choose SUPER as your preferred activation key for the tiling system. Then, you will be able activate the tiling options while moving a window and pressing SUPER key.

image

underdoeg commented 2 weeks ago

Ah I think we are talking about different things.

I tried to record it in a video. At first I drag the window "the normal way" by klicking on the header and dragging. The second time, I click anywhere in the window while holding super. That way I can also drag the window but the tiling extension does not appear.

https://github.com/domferr/tilingshell/assets/243820/6b8ab0ca-5098-4291-a1c0-a4414acb9624

domferr commented 2 weeks ago

Ops, yeah we are talking about different things! didn't know that it was possible to move windows in that way, thank you!

I've implemented it. You can click anywhere in the window while holding SUPER, starting to drag the window, then pressing the activation key will activate the tiling system. If you select SUPER as the activation key, the tiling system will immediately be activated when dragging the window.

Screencast from 2024-06-17 17-21-57.webm

:soon: It will be available soon in the next update (v9.0)!