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