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
          106 kB
          Drew
        2. QTBUG-54160.tar.gz
          1 kB
          Timur Pocheptsov
        3. QtWacomBug.pro
          0.1 kB
          Drew
        4. main.cpp
          0.2 kB
          Drew
        5. mainwindow.cpp
          0.9 kB
          Drew
        6. mainwindow.h
          0.4 kB
          Drew

        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