PaperWM icon indicating copy to clipboard operation
PaperWM copied to clipboard

Wayland 3-finger swipe broken?

Open thomaseizinger opened this issue 1 year ago • 3 comments

I've been testing out the Gnome 42 branch (referenced here) and it works pretty good. The only thing I've found to be broken is the 3-finger swipe is meant to be supported on Wayland (according to the README).

Is this a known problem or something with my local setup?

When I try 3-finger swipe sideways, the window jitter a bit and sometimes move but not reliably. I think it would be great if swiping through horizontally with 3 fingers would just scroll the way a webpage scrolls, i.e. without snapping. The user's next click on the window will snap it into place anyway. This way, it would be super easy to just scroll through all windows that are open, skimming them as they go past and choosing the one that you want by stopping the scrolling and focusing a window.

thomaseizinger avatar Sep 01 '22 20:09 thomaseizinger

Just upgraded to gnome 42. It looks like Gnome Shell captures the 3-finger swipe and tries to do a native workspace change, which obviously looks strange.

I'm guessing the code that disabled the native swipe handlers no longer work.

So we'll need a new kludge to disable native swipe handling.

hedning avatar Sep 07 '22 19:09 hedning

One thing that's not well-documented is that installing the vertical overview extension alongside PaperWM is ~required for the current gnome 42 code to work properly.

smichel17 avatar Sep 07 '22 21:09 smichel17

In https://github.com/PaperWM-community/PaperWM/discussions/6, we decided at the time that as long as the two extensions work well together, not to merge its code base into ours, to avoid duplicating effort. But that's a big "as long as"; I suspect eventually we will have to do it.

smichel17 avatar Sep 07 '22 21:09 smichel17

This seems also to apply to Gnome 40 (CentOS Stream 9). I also applied the extension and solved the issue.

alexpdp7 avatar Oct 13 '22 20:10 alexpdp7