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. env.txt
          3 kB
        2. erratic_scroll_behavior.mp4
          563 kB
        3. gallery-qpa-debug.txt
          963 kB
        4. gallery-repro.mp4
          1.13 MB
        5. liang-output.txt
          22 kB
        6. qt.qpa.asterisk.debug.txt
          96 kB
        7. qt.qpa.input.devices.debug.txt
          4 kB
        8. xinput list.txt
          1 kB
        For Gerrit Dashboard: QTBUG-129509
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: