Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.1
-
None
-
-
534df5a33bd6a3d0d00194212cf868a9ef57bd53
Description
Qt uses POINTER_INFO::pointerId for https://doc.qt.io/qt-5/qtabletevent.html#uniqueId. The documentation says that uniqueId "returns a unique ID for the current device, making it possible to differentiate between multiple devices being used at the same time on the tablet."
As noted in https://bugs.kde.org/show_bug.cgi?id=405494#c14, POINTER_INFO::sourceDevice might be a better choice, since pointerId changes every time the pen approaches the tablet, which means we cannot use it to recognize the stylus.
Attachments
For Gerrit Dashboard: QTBUG-74700 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
257438,3 | Fix QTabletEvent::uniqueId() when Qt uses WinInk | 5.12.3 | qt/qtbase | Status: MERGED | +2 | 0 |
258733,1 | Fix QTabletEvent::uniqueId() when Qt uses WinInk | 5.12 | qt/qtbase | Status: ABANDONED | 0 | 0 |