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

Erroneous mouse button events for Wacom Intuos Pen & Touch tablet

    XMLWordPrintable

Details

    Description

      Clicking the middle or right button of a Wacom pen generate many mixed middle and right press and release events.

      Attached minimalistic example produces following output for Qt 5.6 (expected behavior):

      Left click:
      press left
      release left

      Right click:
      press right
      release right

      Middle click:
      press mid
      release mid

      For Qt 5.7, the same application produces:

      Left click:
      press left
      release left

      Right click:
      press mid
      press right
      release right
      press right
      release right
      press right
      release right

      Middle click:
      press right
      release right
      press mid
      qt.qpa.cocoa.window: QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
      press right
      release right
      qt.qpa.cocoa.window: QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
      press right
      release right
      qt.qpa.cocoa.window: QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
      press right
      release right
      qt.qpa.cocoa.window: QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
      press right
      release right
      qt.qpa.cocoa.window: QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)
      press right
      release right
      release mid

      Attachments

        1. main.cpp
          0.2 kB
        2. mainwindow.cpp
          0.9 kB
        3. mainwindow.h
          0.4 kB
        4. QTBUG-54160.tar.gz
          1 kB
        5. QtWacomBug.pro
          0.1 kB
        6. Screen Shot 2016-12-21 at 10.22.49.png
          Screen Shot 2016-12-21 at 10.22.49.png
          106 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-54160
          # Subject Branch Project Status CR V

          Activity

            People

              sorvig Morten Sørvig
              drew Drew
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes