Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74700

Windows Pointer API support uses PointerId for QTabletEvent::uniqueId

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.1
    • Fix Version/s: 5.12.3
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            anrocha André De La Rocha
            Reporter:
            boudewijn Boudewijn Rempt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes