mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
467 stars 59 forks source link

Touch screen 'four fingers' switch workspace gesture works like native dynamic mode #40

Closed esauvisky closed 3 years ago

esauvisky commented 5 years ago

Title is quite self explanatory, when swiping with four fingers to switch workspaces on a touchscreen monitor, the behaviour is exactly the same as the old one, i.e.: the dynamic thing.

This is totally not critical, but would be a nice attention to detail a for a future release!

mzur commented 5 years ago

Unfortunately I don't have a screen to test this with. Can you please elaborate? Can you move horizontally between workspaces? Are new workspaces added although the number should be fixed?

Please feel free to start working on this. I'm not sure if this is is an issue with GNOME or with this extension. In case of the latter, the _showWorkspaceSwitcher function might be a good place to start.

ElijahLynn commented 4 years ago

Just browsing this issue queue now due to an unrelated issue and just learned about the 4 finger switch feature from this issue! Love that it is built into Gnome!

The 4 finger gesture works for me but only horizontally, on the current row of my 3 x 3 grid I have setup. It does not work vertically to get to the other rows. I can post a video if you like.

mzur commented 4 years ago

@ElijahLynn Feel free to tinker with the _showWorkspaceSwitcher function to find out why vertical switching is not possible. Basic debugging can be done with log('some string', someObject) and journalctl -f /usr/bin/gnome-shell.

aminvakil commented 4 years ago

Four fingers on touchpad doesn't work either, although I don't know if it has to do something with gnome 3.36 or not, I used version 2.2.0 on gnome 3.34 and has just updated to 3.0.1.

mzur commented 4 years ago

@aminvakil You could check if you can switch workspaces with four fingers if this extension is disabled. If it works, you can also try to find out why it doesn't work for this extension.

aminvakil commented 4 years ago

@mzur It doesn't work without extension as well. I couldn't figure out why, but it doesn't have to be on this issue, thanks.

Edit: Actually about a week ago I switched from Wayland to X11 due to some problems with enabling nvidia optimus using prime render offload on my laptop and that is the problem, touchpad gestures doesn't work with X11 and it should work out of the box in Wayland, so it just happens to be the same time updating gnome-shell and updating this extension, but the problem is in X11.

mzur commented 3 years ago

Please check if this issue still exists in GNOME 40. If yes, please reopen.