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

Wheel scrolling does not work well with Firefox #101

Open
mambasoft opened this issue Apr 22, 2024 · 8 comments
Open

Wheel scrolling does not work well with Firefox #101

mambasoft opened this issue Apr 22, 2024 · 8 comments

Comments

@mambasoft
Copy link

Hello,
I'm been using waynergy for a couple of months on the latest KDE Plasma 6 and everything works fine except for wheel scrolling with Firefox.

When I open a new browser page I can scroll towards the bottom but if I scroll back it will stop before reaching the top of the page. Other scrolling elements inside the page behave worse, i.e. they don't scroll at all or just for a short path.

Scrolling worked fine with the synergy client on X11 and since I use wayland desktop local touchpad scrolling works fine too. Other non-kde apps like Thunderbird and Chromium have no problems too with waynergy, so it seems a problem only with Firefox.

I tried tweaking some configuration options on Firefox with no result, I wonder if this is a common problem or not and I can provide debugging information if instructed to.

Thanks!

@r-c-f
Copy link
Owner

r-c-f commented Apr 23, 2024

I did run into this in initial testing of Plasma 6, and I suspect it's because the virtual pointer doesn't send discrete events while an actual mouse does, but trying to reproduce it again has been fruitless. Which version of Firefox are you using?

@mambasoft
Copy link
Author

I usually have the most recent Firefox release, 125.0.1 now. When I first installed waynergy I think I was using 123.0.
P.S. the O.S. is openmamba Linux and I am the maintainer.

@mambasoft
Copy link
Author

Problem seems resolved! I'm not sure about what fixed it as there have been many updates including Firefox 24.0.2 and Qt 6.7, but my guess is that the fix could be in 5bd3307 which I integrated as a patch in waynergy just a few days ago. Is this possible?

@r-c-f
Copy link
Owner

r-c-f commented Apr 25, 2024

I have no idea how this is even possible -- I've been digging through gtk3 stuff trying to figure out where this might be happening over the past few days to no avail -- but yeah, that seems to fix it somehow even though it's completely and totally unrelated. I should probably go ahead and make a release at this point, seeing as how that is useful functionality regardless of whether it fixes a weird firefox input bug.

@r-c-f
Copy link
Owner

r-c-f commented Apr 25, 2024

Actually scratch that, it's even worse now, for some reason, on my end.

I'll see if I can find any hints, but I can't promise much; my computer is simply not up to the task of browser development.

@mambasoft
Copy link
Author

Don't trust my guess on that commit too much, let me take some time to do a better check on which update fixed the problem. Have you tried Firefox 24.0.2? This update was my second guess :) I don't think it's related to Qt 6.7 update because I already made tests with no resolution in the past days. Today I also applied a patch to plasma-workspace but it seems unrelated. The only thing I can confirm is that in the last few hours something fixed it.

@mambasoft
Copy link
Author

Well, after downgrading to waynergy as released in 0.0.16 I rebooted and the problem was back, updading again to the patched release Firefox scrolls perfectly. You may see the changes in the last package release here.

@mambasoft
Copy link
Author

mambasoft commented Apr 25, 2024

I don't know if this may be useful, but as you cite gtk3, I can tell that I also upgraded glib to 2.80 between yesterday and today.

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