Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.2, 5.15.1
-
None
-
MacOS 10.15.7
-
-
13d2a4e31 (dev), 9f4ef1785 (6.5)
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
- relates to
-
QTBUG-72167 Add a device tree
- Closed
-
QTBUG-112432 wayland plugin should distinguish touchpads from mice, etc.
- Reported
-
QTBUG-112394 Minimal map example - WheelHandler not working
- Closed
- resulted from
-
QTBUG-63363 QPointingDevices for the trackpad and mouse are dynamically instantiated on macOS
- Reported
For Gerrit Dashboard: QTBUG-87646 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
368838,2 | doc: Add the PixelScroll device capability (new in 6.2) | dev | qt/qtbase | Status: MERGED | +2 | 0 |
368952,2 | doc: Add the PixelScroll device capability (new in 6.2) | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
466184,6 | MapView: add bearing / tilt wheel functionality; also with Magic Mouse | dev | qt/qtlocation | Status: MERGED | +2 | 0 |
471230,2 | MapView: add bearing / tilt wheel functionality; also with Magic Mouse | 6.5 | qt/qtlocation | Status: MERGED | +2 | 0 |