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

(Regression) Erratic scrolling behavior using the mouse in 6.7.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 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)

    Description

      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)

      Attachments

        1. erratic_scroll_behavior.mp4
          563 kB
        2. env.txt
          3 kB
        3. xinput list.txt
          1 kB
        4. qt.qpa.input.devices.debug.txt
          4 kB
        5. qt.qpa.asterisk.debug.txt
          96 kB
        6. gallery-qpa-debug.txt
          963 kB
        7. liang-output.txt
          22 kB
        8. gallery-repro.mp4
          1.13 MB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: