You are not logged in.

#1 2017-08-16 07:24:13

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

[Workaround found]Uneven scrolling in Firefox on Wayland

I'm trying out Plasma on Wayland and for the most part it is working really well, but I have an issue in Firefox. When scrolling with the mouse wheel, every other 'tick' scrolls double the distance. It is very annoying when reading and only scrolling occasionally, becouse it feels unpredictale even though it is actually consistent. It happens with smooth scrolling enabled and disabled. It also happens on Firefox nightly. It does not, however, happen on Xorg. The only setting I have changed in about:config is mousewheel.min_line_scroll_amount which I have changed to 60, but it also happens on the default setting of 5. I am actually not sure if it happens in other applications. Scrolling is inconsistent, for example, when scrolling contacts in KDE Kontact, I end up in different places different times with the same number of ticks. But it is the most annoying in Firefox. I am not sure how to troubleshoot this. I have searched through the Wiki and not found anything relevant and Google fails me aswell. Any ideas are welcome!

Last edited by KlavKalashj (2017-09-09 06:44:54)

Offline

#2 2017-08-16 12:44:01

Tromzy
Member
Registered: 2015-02-15
Posts: 166

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

I noticed that too ! Glad I'm not the only one experiencing it, it is a very small yet pretty annoying issue. I'm guessing your Firefox runs through XWayland ; have you tried with a native Firefox Wayland version ? You can find a Flatpak version here : https://eischmann.wordpress.com/2017/02 … r-flatpak/

I don't remember if the problem occurs on the native Wayland version of Firefox. Can you try ?

Offline

#3 2017-08-17 07:01:58

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

Glad I'm not alone! I tried this flatpak version but I couldn't get it to run:

┌─[✔]───[oscar@arch-desktop]───[~]───[15 files, totalt 216K]
└───▶ flatpak run org.mozilla.FirefoxNightlyWayland

(firefox:3): Gdk-WARNING **: Wayland compositor does not support xdg_shell interface, not using Wayland display
Error: cannot open display: wayland-0

Maybe I'm doing something wrong. I haven't ever used flatpaks before. There is a version in AUR aswell but it's Firefox 56. I'm gonna try that since it's still wayland and report back.

Edit: Package wouldn't build. I guess I can't try it out.

Last edited by KlavKalashj (2017-08-17 07:36:59)

Offline

#4 2017-09-08 05:39:47

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

I hope this doesn't count as necro bumping. I've found that turning off smooth scrolling works around the issue. Now, no matter how far I scroll, it will need the same number of ticks to go back up again and the scrolling distance seems to be the same with every tick.

Offline

#5 2017-09-08 07:40:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

It doesn't if you as the OP come back in to share a solution, however you might want to mark as [SOLVED] by editing your initial post's title.

Offline

#6 2017-09-08 12:04:47

Tromzy
Member
Registered: 2015-02-15
Posts: 166

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

I wouldn't say it is solved, as it is a simple workaround that makes one lose smooth scrolling. Thanks for the tip anyway !

Offline

#7 2017-09-09 06:44:31

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

I agree it doesn't feel solved. I'm happy I found the workaround becouse now I can use the Wayland session without annoyances, but I'm still interested in ideas of why this happens with smooth scrolling. Could it be an issue with plasma, firefox, mesa drivers? Next week the beta of plasma 5.11 will be released, I'm hoping for some Wayland enhancements then.

Offline

#8 2018-01-19 08:58:16

Tromzy
Member
Registered: 2015-02-15
Posts: 166

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

I'm upping this to say that the bug still occurs on Plasma 5.12 beta with the latest Firefox nightly. Is there a place where I can report Firefox Wayland-related bugs to Mozilla devs ?

Offline

#9 2018-01-19 11:01:40

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

Tromzy wrote:

I'm upping this to say that the bug still occurs on Plasma 5.12 beta with the latest Firefox nightly. Is there a place where I can report Firefox Wayland-related bugs to Mozilla devs ?

I'm not entirely sure it's a bug with Firefox. When using Ubuntu with Gnome, the issue doesn't exist and everything scrolls normally. It might be an issue with Kwin, or even Arch packaging.

Offline

#10 2018-05-28 10:11:57

Tromzy
Member
Registered: 2015-02-15
Posts: 166

Re: [Workaround found]Uneven scrolling in Firefox on Wayland

This still occurs with Plasma 5.13 beta.

Offline

Board footer

Powered by FluxBB