Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.5.1, 5.6.1, 5.7.0, 5.8.0 Alpha
Description
In our application we need some idle processing in the background. We are using QApplication::mouseButtons() as one of our checks in the Idle timer event (see attached example).
The problem is that this method returns wrong state after drag-n-drop operations on the Windows. Please run attached example under debugger to see qDebug() output.
There are three kinds of DnD possible:
a) an internal DnD between two windows of test app;
b) an external DnD from test app into the Windows Explorer;
c) an external DnD from Explorer into the test app;
Note that all kinds of DnD can be canceled with Escape key.
Bugs:
1. The mouse button state of QApplication stays wrong after cases b) and c)
2. Alt modifier key is interpreted as XButton1 during DnD
Attachments
Issue Links
- relates to
-
QTBUG-59539 [REG 5.8 -> 5.9] Windows: Items start being dragged after single click
-
- Closed
-
For Gerrit Dashboard: QTBUG-55885 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
170573,1 | Fix Windows DnD: Alt key modificator was interpreted as mouse Xbutton | 5.8 | qt/qtbase | Status: ABANDONED | +1 | 0 |
171444,2 | Fix Windows DnD: Alt key modificator was interpreted as mouse Xbutton | dev | qt/qtbase | Status: MERGED | +2 | 0 |
171749,5 | Fix Windows DnD: Wrong qApp mouse buttons state after external DnD | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |