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

QWheelEvent incorrect angleDelta() value with both mouse wheel and touchpad scroll

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.4.2
    • Labels:
      None
    • Environment:

      openSUSE 13.1 x86_64 with Qt 5.3.1.

      Description

      If mouse wheel scrolling and touchpad scrolling are used (simultaneously or by turns), touchpad QWheelEvent after mouse QWheelEvent produces strange angleDelta() value (and pixelDelta() as well).

      Simple code in wheelEvent():
      qDebug() << "wheelEvent:" << event->phase() << event->angleDelta() << event->pixelDelta();

      Begin slowly scroll with touchpad, and while this scroll mouse wheel. Output: http://pastebin.com/kzt4ycm2

      Line 8 — mouse scroll, Line 9 — strange touchpad event.

      Somewtimes this values aren't big, sometimes too big (more than 1000).

        Attachments

        1. devices.txt
          0.6 kB
        2. events.txt
          2 kB
        3. QTBUG-40829.tgz
          0.7 kB
        4. xinput_list.txt
          5 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                allan.jensen Allan Sandfeld Jensen
                Reporter:
                nicklion Mykola Krachkovsky
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes