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

extensions.VimFx.scroll.*_boost do nothing on Linux/Wayland #978

Open
TinfoilSubmarine opened this issue Aug 24, 2022 · 5 comments
Open

Comments

@TinfoilSubmarine
Copy link

I'm having issues with getting this extension fine-tuned for scrolling, but specifically on Linux. I say this because I also installed this on a Windows machine and have no issues adjusting scrolling there.

However, on Linux, when I adjust these settings, it doesn't change anything. I'd be happy to dig into logs, advanced settings, etc. I just don't know where to start.

@TinfoilSubmarine
Copy link
Author

Oh great.

I just had a hunch and ran Firefox under Xorg and it works fine, while both Sway (Wayland) and GNOME on Wayland exhibit this issue.

@TinfoilSubmarine TinfoilSubmarine changed the title extensions.VimFx.scroll.*_boost do nothing on Linux extensions.VimFx.scroll.*_boost do nothing on Linux/Wayland Aug 24, 2022
@girst
Copy link
Collaborator

girst commented Aug 24, 2022 via email

@girst
Copy link
Collaborator

girst commented Aug 24, 2022 via email

@TinfoilSubmarine
Copy link
Author

I just noticed something interesting:

  • On Xorg, by default, scrolling with arrow keys matches the speed of scrolling with hjkl.
  • On wayland, by default, scrolling with arrow keys is faster than scrolling with hjkl.

Maybe there is some other layer here that is getting added/modified by Firefox's Wayland backend? The weird thing is, I already saw on ArchWiki that there is something weird with kinetic scrolling on Wayland, but disabling (apz.gtk.kinetic_scroll.enabled set to false) didn't fix...

@TinfoilSubmarine
Copy link
Author

I just noticed something interesting:

* On Xorg, by default, scrolling with arrow keys matches the speed of scrolling with hjkl.

* On wayland, by default, scrolling with arrow keys is _faster_ than scrolling with hjkl.

Maybe there is some other layer here that is getting added/modified by Firefox's Wayland backend? The weird thing is, I already saw on ArchWiki that there is something weird with kinetic scrolling on Wayland, but disabling (apz.gtk.kinetic_scroll.enabled set to false) didn't fix...

After playing with it for a little bit more, it seems like this is an issue not with scroll distance, but with the repeat delay between scrolling.

I discovered toolkit.scrollbox.verticalScrollDistance which does cause a difference and is what I'll be using to fix the observed slow scrolling under Wayland from my last comment--at least until I can figure out what is causing the discrepancy in the first place.

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