JoseExposito / gnome-shell-extension-x11gestures

Enable GNOME Shell multi-touch gestures on X11 with this extension
GNU General Public License v2.0
344 stars 13 forks source link

Gestures not working after update to Fedora 38 #48

Closed ItsKou closed 1 year ago

ItsKou commented 1 year ago

Describe the bug

The extension doesn't work since I updated to Fedora 38, a look the logs shows errors every time I swipe so it is being detected. The error complains of display being null. I've searched for other issues but couldn't find anyone else talking about this so decided to make a report. It worked perfectly before the update and gestures still work in wayland.

Expected behaviour

Gestures trigger for swiping between workspaces.

Actual behaviour

Gesture doesn't trigger and throws an error.

Logs

If required, include logs of the bug:

Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3400004
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3400004
[x11gestures@joseexposito.github.io] Extension enabled
[x11gestures@joseexposito.github.io] Building entry point for GNOME Shell 44.0
[x11gestures@joseexposito.github.io] Connecting to Touchégg daemon
[x11gestures@joseexposito.github.io] Hooking global switch desktop gestures
[x11gestures@joseexposito.github.io] Creating a new SwipeTracker40
[x11gestures@joseexposito.github.io] Connecting Touchégg client signals
[x11gestures@joseexposito.github.io] Hooking global activities/overview gestures
[x11gestures@joseexposito.github.io] Creating a new SwipeTracker40
[x11gestures@joseexposito.github.io] Connecting Touchégg client signals
[x11gestures@joseexposito.github.io] Hooking activities view switch desktop gestures
[x11gestures@joseexposito.github.io] Creating a new SwipeTracker40
[x11gestures@joseexposito.github.io] Connecting Touchégg client signals
[x11gestures@joseexposito.github.io] Connection with Touchégg established
JS ERROR: TypeError: display is null
getMousePosition@/home/gou/.local/share/gnome-shell/extensions/x11gestures@joseexposito.github.io/src/v40/SwipeTracker40.js:111:18
onToucheggGestureBegin@/home/gou/.local/share/gnome-shell/extensions/x11gestures@joseexposito.github.io/src/v40/SwipeTracker40.js:74:44
emitGestureEvent@/home/gou/.local/share/gnome-shell/extensions/x11gestures@joseexposito.github.io/src/touchegg/ToucheggClient.js:227:12
onNewMessage@/home/gou/.local/share/gnome-shell/extensions/x11gestures@joseexposito.github.io/src/touchegg/ToucheggClient.js:188:10

Tried deleting the touchegg config to reset to default, no changes.

Your environment

bamless commented 1 year ago

Same problem for me, also on fedora 38.
Touchegg itself seems to be running, if I attach a client using the debug flag I can see the gestures being detected:

Touchégg v2.0.16.
Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/usr/share/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Connection with Touchégg established
Gesture begin detected
    Gesture information:
        Fingers: 3
        Type: SWIPE
        Direction: LEFT
    Gesture performed on app: Gnome-terminal
    Action configured for this gesture
    Starting action
Gesture update detected (5.26449%)
Gesture update detected (7.41359%)
Gesture update detected (9.65612%)
...

But alas X11gestures is generating the same errors for me too.

auspham commented 1 year ago

Same for me for ubuntu 23.04

isapa1984 commented 1 year ago

Same situation for me. Fedora 38 with Touchegg installed and running.

vladAlcash commented 1 year ago

The problem is relevant to me, too. Ubuntu 23.04

vatrat commented 1 year ago

Same issue, OpenSUSE Tumbleweed 20230422. Tried installing touchegg from repo and x11gestures extension, made sure to enable the service. "JS ERROR: TypeError: display is null", then a traceback with the same line numbers as the first post in this issue.

hsiktas commented 1 year ago

For me, it seems like the gestures are now 4 fingers instead of 3 and are rotated by 90°. This is on Ubuntu 23.04 with Gnome 44.

buhovets commented 1 year ago

Yep, problems on gnome 44

JoseExposito commented 1 year ago

Sorry for the delay fixing this issue. A new version is available at https://extensions.gnome.org/extension/4033/x11-gestures/ fixing the GNOME Shell extension.

ozeee commented 1 year ago

thank you, it's working.

(Ubuntu 23.04)