Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Switch desktop" gesture no longer working on KDE Plasma 5.23 #542

Closed
jbouter opened this issue Oct 21, 2021 · 7 comments
Closed

"Switch desktop" gesture no longer working on KDE Plasma 5.23 #542

jbouter opened this issue Oct 21, 2021 · 7 comments

Comments

@jbouter
Copy link

jbouter commented Oct 21, 2021

Describe the bug

When using the "Switch desktop" option for a swipe gesture, it is not executed. Changing it to a different option, however, works fine. This affects both X11 and Wayland session of the KDE Plasma 5.23 desktop

Expected behaviour

The desktop should be switched

Actual behaviour

Absolutely nothing :-(

Logs

If required, include logs of the bug:

$ touchegg --debug
Touchégg v2.0.11.
Starting Touchégg in client mode
Parsing your configuration file...
Using configuration file "/home/jeffrey/.config/touchegg/touchegg.conf"
Configuration parsed successfully
Connecting to Touchégg daemon...
Connection with Touchégg established
Gesture begin detected
        Gesture information:
                Fingers: 4
                Type: SWIPE
                Direction: RIGHT
        Gesture performed on app: konsole
        Action configured for this gesture
        Starting action
Gesture update detected (1.38749%)
Gesture update detected (2.11395%)
Gesture update detected (3.0233%)
Gesture update detected (4.019%)
Gesture update detected (5.04011%)
Gesture update detected (6.0663%)
Gesture update detected (7.05184%)
Gesture end detected
Gesture begin detected
        Gesture information:
                Fingers: 4
                Type: SWIPE
                Direction: LEFT
        Gesture performed on app: konsole
        Action configured for this gesture
        Starting action
Gesture update detected (0.757556%)
Gesture update detected (1.56022%)
Gesture update detected (2.434%)
Gesture update detected (3.35859%)
Gesture update detected (4.17141%)
Gesture update detected (4.91819%)
Gesture update detected (5.80213%)
Gesture update detected (6.67591%)
Gesture end detected

Your environment

  • Version of Touchégg: Touchégg v2.0.11.
  • Operating System: KDE Neon (Ubuntu 20.04 LTS)
  • Desktop Environment: KDE
@jbouter
Copy link
Author

jbouter commented Oct 21, 2021

This bug also affects Touchégg v2.0.12.

@JoseExposito
Copy link
Owner

Hi @jbouter, thanks for the detailed bug report.

What's your libinput version? (libinput --version)

There was a breaking change in libinput 1.18 affecting how movement deltas are measured that I check at compile time.

I assume you're using the PPA version for Ubuntu 20.04, compiled against libinput 1.15. If your system has a different version of libinput, that'd explain why at the end of the gesture only the ~7% of the action was reached. The solution would be recompiling Touchégg.

@jbouter
Copy link
Author

jbouter commented Oct 21, 2021

Hey @JoseExposito,

Thanks for getting back to me! My libinput version is 1.19.1:

$ libinput --version
1.19.1

Should I recompile touchegg locally?

@JoseExposito
Copy link
Owner

Yes, that should fix the issue.

It looks like KDE Neon ships a newer version of libinput that the one used in the PPA.

@jbouter
Copy link
Author

jbouter commented Oct 22, 2021

Is there also a .deb available built against a newer version of libinput?

@JoseExposito
Copy link
Owner

I guess you could download from the PPA the package for Ubuntu 21.10, which uses libinput 1.18.1:
https://code.launchpad.net/~touchegg/+archive/ubuntu/stable/+build/22323264

But I don't know if it's going to work. I can manually build one for you in case you find problems building it.

@jbouter
Copy link
Author

jbouter commented Oct 24, 2021

I've tried modifying the PPA to use the impish version, but obviously that just ends up with different mismatching dependencies. No need to build a package for me, considering I build it often enough for the AUR package :-) Thanks for your assistance thus far!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants