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

Erroneous mouse button events for Wacom Intuos Pen & Touch tablet

XMLWordPrintable

      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

        1. QtWacomBug.pro
          0.1 kB
          Drew
        2. main.cpp
          0.2 kB
          Drew
        3. mainwindow.cpp
          0.9 kB
          Drew
        4. mainwindow.h
          0.4 kB
          Drew
        5. QTBUG-54160.tar.gz
          1 kB
          Timur Pocheptsov
        6. Screen Shot 2016-12-21 at 10.22.49.png
          106 kB
          Drew
        For Gerrit Dashboard: QTBUG-54160
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes