Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129509

(Regression) Erratic scrolling behavior using the mouse in 6.7.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 5.15.19, 6.5.8, 6.8.0, 6.8.1, 6.9.0 FF
    • 6.7.3
    • QPA: X11/XCB
    • None
    • Arch Linux (Plasma 6.1.5, X11 session)
    • Linux/X11
    • 5875da6d7 (dev), b839e9b36 (6.8.0), d3780f244 (6.8), 1d19a3a91 (tqtc/lts-6.5), ac1700f8b (tqtc/lts-6.2), cfc43055d (tqtc/lts-5.15)

      After upgrading from 6.7.2 to 6.7.3, I noticed that my mouse's scrolling wheel behavior was very inconsistent in all Qt programs.

      At first, I thought it was just my mouse malfunctioning, but after not observing the issue in non-Qt apps (e.g. Firefox), I ran a git bisect in qtbase, between 6.7.2 (good) and 6.7.3 (bad), and I found the culprit commit.

      Reproduction steps:

      1. Open any Qt program that you can scroll (horizontally or vertically, doesn't matter)
      2. Move your mouse cursor on top of the scroll bar
      3. Scroll your mouse wheel at any direction, while also moving your cursor in the same direction

      Observed results:

      The scrolling behavior is erratic; It will sometimes not scroll at all, sometimes "accumulate" scrolls and "jump" a long distance at once, or simply scroll to the opposite direction you intended.

      Reproduction video:

      (See attached video)

        1. erratic_scroll_behavior.mp4
          563 kB
          Guilherme Silva
        2. env.txt
          3 kB
          Guilherme Silva
        3. xinput list.txt
          1 kB
          Guilherme Silva
        4. qt.qpa.input.devices.debug.txt
          4 kB
          Guilherme Silva
        5. qt.qpa.asterisk.debug.txt
          96 kB
          Guilherme Silva
        6. gallery-qpa-debug.txt
          963 kB
          Guilherme Silva
        7. liang-output.txt
          22 kB
          Liang Qi
        8. gallery-repro.mp4
          1.13 MB
          Guilherme Silva
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            guihkx Guilherme Silva
            Votes:
            2 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: