https://bugs.kde.org/show_bug.cgi?id=438326
Bug ID: 438326 Summary: Using KWin for wayland, GTK scroll events report wrong scroll distance. Product: kwin Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: emi...@crisal.io Target Milestone: --- Created attachment 139141 --> https://bugs.kde.org/attachment.cgi?id=139141&action=edit Sample python application that shows the issue. SUMMARY Using a mousewheel on Plasma 5 (under Wayland), gtk applications receive scroll events with odd deltas. On Gnome 40 or Plasma on X11, a single wheel tick reports a GdkScrollEvent.delta_y value of 1, while on plasma it reports 1.5. This causes GTK apps to scroll faster than usual. STEPS TO REPRODUCE 1. Run the application attached in Plasma with wayland 2. Use the mousewheel OBSERVED RESULT Note the scroll deltas: > scroll 0.0 1.5 EXPECTED RESULT > Scroll 0.0 1.0 SOFTWARE/OS VERSIONS Operating System: Fedora 34 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.12.9-300.fc34.x86_64 OS Type: 64-bit Graphics Platform: Wayland ADDITIONAL INFORMATION I found this when trying to make Firefox scroll a bit faster: https://bugzilla.mozilla.org/show_bug.cgi?id=1715513 The patch there causes Gnome to work great, but on Plasma+Wayland the scroll speed is too high because of this bug. -- You are receiving this mail because: You are watching all bug changes.