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

WheelHandler doesn't work correctly with TouchPad

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      The WheelHandler should be usable for managing two-finger pan gestures on the Macbook trackpad.  However, the wheel event returns Mouse as the device type both for trackpad events, as well as for actual wheel events coming from a connected mouse. 

      Attached example logs the same device type value regardless of whether the wheel event came from a mouse or the touchpad.

      No other input handler seems capable of dealing with two finger drag on the touchpad (without a click to drag).  So, the wheel events need to properly identify the source device in order to support both mouse wheels and trackpads.  Limiting the WheelHandler to just TouchPad devices also doesn't work, since it apparently sees the trackpad as a mouse device.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-87646
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              ttgil Gil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes