Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.10.0 Beta 1, 6.0.0 Beta2, 6.2.0 Beta1
-
None
-
-
32a56ba8f (dev), e801fced5 (6.7), 8473329c2 (6.6), 97fd6ce85 (tqtc/lts-6.5)
Description
This is a consequence of aa4ff7b2e9d4523dbc44afad98a4e3570ec6a997 https://codereview.qt-project.org/#/c/205278/
On Linux (with various platform plugins) we have tried to always enumerate the devices when Qt is initialized; and in the past, we always created a single QTouchDevice representing the trackpad, on startup. (Which was a bit wrong because it's like the "core pointer" idea - an anonymous device, when in fact we can really distinguish the devices, and it's useful to know when there are multiple trackpads.)
I'm not sure yet what exactly this is going to affect... but it's now a minor platform difference, and it would be much better if we could find macOS API to enumerate the devices at Qt initialization time, and also be notified when devices are hotplugged, rather than waiting until we get events from them.
Attachments
Issue Links
- is required for
-
QTBUG-72167 Add a device tree
- Closed
-
QTBUG-46412 expose a complete list of QInputDevice
- Closed
- relates to
-
QTBUG-112432 wayland plugin should distinguish touchpads from mice, etc.
- Reported
- resulted in
-
QTBUG-130300 Mac: No way to distinguish touch pads from regular mice that support pixel scrolling
- Reported
-
QTBUG-87646 WheelHandler doesn't work correctly with TouchPad
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-63363 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
305545,14 | Register mouse devices on cocoa | dev | qt/qtbase | Status: MERGED | +2 | 0 |
362698,2 | Register mouse devices on cocoa | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
540991,4 | Accept mouse or touchpad in snippets with acceptedDevices | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542028,2 | Accept mouse or touchpad in snippets with acceptedDevices | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542517,2 | Accept mouse or touchpad in snippets with acceptedDevices | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
542569,2 | Accept mouse or touchpad in snippets with acceptedDevices | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |