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

MouseButtonPress event gets delivered before TabletPress event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • None
    • 5.5.0, 5.5.1
    • QPA: X11/XCB
    • None
    • Ubuntu 15.04, x.org 1.17.1
    • cc6a06632b26c4f60cb29f540af6eafc31ae3f02

      The new XInput2.2 code in Qt 5.5.0 delivers the TabletPress after the MouseButtonPress; this makes it impossible to determine if the event should have pressure or not.

      It looks like the call to eventListener->handleXIMouseEvent in QXcbConnection::xi2HandleTabletEvent needs to be after the switch statement where tablet events are processed.

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

            srutledg Shawn Rutledge
            danielsabo Daniel Sabo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes