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

Erroneous mouse button events for Wacom Intuos Pen & Touch tablet

    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

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

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews Side Panel

                  Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerrit-reviews-side-panel'. Please contact your Jira administrators.