Nheko-Reborn / nheko

Desktop client for Matrix using Qt and C++20.
https://nheko-reborn.github.io/
GNU General Public License v3.0
1.95k stars 202 forks source link

[qt6, Wayland] Buggy, slow trackpad scrolling #1527

Open TheSunCat opened 1 year ago

TheSunCat commented 1 year ago

Describe the bug

Since the update to qt6, scrolling with a trackpad has become very slow. If scrolling by small amounts intentionally, it also glitches out and starts jumping up and down crazily. This is reproducible in all scrollable widgets, such as the chat view. This does not happen in any other qt6 app in my system.

This does not happen if I set nheko to run in XWayland, where the scroll speed is normal and does not glitch out. However, scrolling is "smoothed", like in Chromium without the --disable-smooth-scrolling flag. Scrolling does not behave like this in other qt6 apps.

To Reproduce

  1. Scroll with two fingers on the touchpad, observe very slow speed

  2. Scroll, then stop moving and hold fingers, observe buggy teleporting up/down

What happened?

Scrolling is very messed up

Expected behavior

Scrolling should be like other qt6 apps.

Screenshots

No response

Version

0.11.3-4bd6aeab

Operating system

Linux

Installation method

Some repository (AUR, homebrew, distribution repository, PPA, etc)

Qt version

No response

C++ compiler

No response

Desktop Environment

Hyprland (Wayland)

Did you use profiles?

Relevant log output

No response

Backtrace

No response

baltitenger commented 8 months ago

I'm having the same issue. Anything we can do to help troubleshoot this?

RoblKyogre commented 4 months ago

Running into this as well with the new release, though will mention that this doesn't happen inside user settings also personally, even running under xwayland, it still does feel too slow for me (though a bit better than under wayland) also fyi i'm running this under kde plasma 6.1.0

pizdjuk commented 4 months ago

Same issue here, Linux and X11 (Xorg), Nheko 0.12.0 from flatpak

HEPOSHEIKKI commented 1 month ago

I'm experiencing sluggish scrolling as well.

The buggy teleportation seems to only happen when application scale is greater than 1.

Using Arch Linux on Wayland + KDE Plasma.