Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.0
-
None
-
-
8d11e05f8 (dev), 62f83ac45 (6.5), ea4501366 (tqtc/lts-6.2)
Description
InĀ https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/android/androidjniinput.cpp#n299 getTouchDevice() calls registerInputDevice(), and getTouchDevice() is called only from touchEnd() and touchCancel(). But all platforms should register their input devices as soon as they are discovered (preferably at startup), and every input event should have its QInputEvent::device() being the actual device that the event comes from. This is what we depend on to recognize that a synthesized mouse event actually comes from a touchscreen, or a stylus, for example: it's a QMouseEvent but device() says it's really from a different device, not a mouse.
Attachments
Issue Links
- relates to
-
QTBUG-113711 Windows: QInputDevice::devices() returns empty list
- Reported
-
QTBUG-115207 Properly register the input devices on Wayland
- Reported