elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
274 stars 77 forks source link

Use gestures for "move to workspace" #1109

Closed danirabbit closed 1 year ago

danirabbit commented 3 years ago

Problem

When using keyboard shortcuts you can either switch to a workspace with super + arrows or move a window to a workspace with super + alt + arrows. With gestures however, there is only the option to switch to a workspace, it's not possible to move a window to another workspace

Proposal

It would be nice to be able to configure a horizontal swipe gesture to move the focused window in the direction of the swipe. For example, by default swiping horizontally with 3 fingers switches workspaces, and optionally one could move the focused window with a 4-finger swipe.

JoseExposito commented 3 years ago

It's possible to do this at the moment in a very natural way:

I think this is a more natural interaction and doesn't require to memorize another gesture.... But the animation is broken.

hanaral commented 3 years ago

@JoseExposito I can't at all manage to do this.

Maybe this should be left as a context menu thing tbh

danirabbit commented 3 years ago

@JoseExposito ah yeah I mean that technically works, and it does make sense, but it is not an easy gesture to perform even on a huge magic trackpad. I can't imagine trying to do that on a laptop

JoseExposito commented 3 years ago

Yeah, I should also mention that it is only possible if you have a "clickpad", so it is not suitable for all hardware... But I wish it were, it feels like the natural thing to do.

Suzie97 commented 3 years ago

What about double tapping with three fingers and then hold to grab the window and then swipe to move the window across workspaces?

It works similar to dragging a file. Double tap to select and then just drag it.

janxkoci commented 1 year ago

Throwing my hat into the idea ring:

Originally posted in https://github.com/elementary/switchboard-plug-mouse-touchpad/issues/186#issuecomment-1071492313

Edit: I now see this is in the proposal on top, oops 😬

Btw three-finger tap (=middle click) for me does for example things like:

For this reason it feels very unnatural option for the feature discussed here.

My two cents