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

Windows Pointer API support uses PointerId for QTabletEvent::uniqueId

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.3
    • 5.12.1
    • None
    • Windows
    • 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

        Activity

          People

            anrocha André De La Rocha (Inactive)
            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