Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0
-
Mac OS 10.11.5, 10.11.6 and
10.12.0, Wacom Intuos Pen & Touch tablet with pen
-
e3cbf0f1962958457f6e09fcfdc92d8cac4b6511 d5e3dca8c56f60e0da5d707dbbe0c424b75c947a
Description
Mouse press events carry the position of the mouse pointer at the time when the event is delivered and not where it originally occurred. If the application is busy when the user presses a mouse button and the mouse is moved after pressing the mouse button, this leads to mousePressEvents at locations where the user never pressed a mouse button. This only affects mousePressEvents coming from a Wacom pen tablet. Events from regular mice seem to behave as expected.
In the attached simple example:
- Click quickly about 10 different positions in the Window using a Wacom tablet with pen, then rest the mouse pointer at the last position.
- With Qt 4.x, 5.4, 5.5, 5.6, the 10 clicked positions are correctly marked with a circle (the positions are also printed to stdout).
- With Qt 5.7, the first one or two points appear about at the correct position, all other clicks are registered on top of each other at the position where the mouse is currently resting. This creates mousePressEvents at locations where the user never clicked.
This might be a regression of:
https://bugreports.qt.io/browse/QTBUG-40642
In Qt 5.7, only clicks from Wacom pen tablets are affected though.
Attachments
Issue Links
- is duplicated by
-
QTBUG-54160 Erroneous mouse button events for Wacom Intuos Pen & Touch tablet
- Closed
- relates to
-
QTBUG-38681 WinRT: Pen input should be synthesized to mouse input
- Closed