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

        Issue Links

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

          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