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

Issue with "smooth" scrolling #3127

Closed
GbGp opened this issue May 14, 2021 · 3 comments
Closed

Issue with "smooth" scrolling #3127

GbGp opened this issue May 14, 2021 · 3 comments

Comments

@GbGp
Copy link

GbGp commented May 14, 2021

Hi, I am using the xpra client under wayland and I am unable to scroll using the touchpad (two-fingers scrolling) or the trackpoint.
I can see that scrolling with any of the two generates GDK_SCROLL_SMOOTH events, but as far as I can see those are not handled in xpra. Any suggestion?

totaam added a commit that referenced this issue May 15, 2021
@totaam
Copy link
Collaborator

totaam commented May 15, 2021

@GbGp you can try the commit above (trivial to apply) or wait for the 4.2 release.

Works-for-me on my laptop.

@totaam totaam closed this as completed May 15, 2021
totaam added a commit that referenced this issue May 15, 2021
totaam added a commit that referenced this issue May 15, 2021
@GbGp
Copy link
Author

GbGp commented May 15, 2021

works perfectly, thanks!

@totaam
Copy link
Collaborator

totaam commented May 19, 2021

The problem is that normal scrolling events now come up as "smooth scroll" events, with the direction reversed.
And I can't see an easy way to differentiate between real smooth scroll events and the ones synthesized from regular scroll wheels.

So 41ba5af inverts the Y direction.
The commit above also makes it possible to turn off smooth scrolling.

You can use --mousewheel=invert-y.

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