Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0, 5.4.1, 5.4.2, 5.5.0, 5.6.0 Alpha, 5.6.0 Beta
-
None
-
Arch Linux, Qt 5.4.2, Qt 5.5.0 beta
-
b9f76db30d261421e4da58f29053181af04ceb4d e4fb521b3f3b9e59146b7569b72aee08dbaeb268 c511466d747d99ee76465cfe90ce594fa1f27469
Description
Steps to reproduce using software from the attachment:
- move mouse cursor to the center of the window (cursor shape is now CrossCursor),
- click and hold left mouse button,
- move the mouse outside the window (the best way to reproduce is to move through the title bar) (now the cursor shape is still CrossCursor with Qt 5.5(OK) or ArrowCursor with Qt 5.4(BAD)) ,
- move (slowly) mouse cursor to the center of window (now the cursor shape is ArrowCursor in Qt 5.5 and Qt 5.4, but should be CrossCursor),
- release left mouse button - the cursor still remains ArrowCursor instead of CrossCursor.
When using Qt 5.5 if you decrease layout margin and you move the mouse quickly, CrossCursor remains.
Expected results: while mouse button is held, the cursor shape must not change (like in Qt4).
It affects all Qt5 applications including QtCreator under Linux/XCB.
Attachments
Issue Links
- is duplicated by
-
QTBUG-52332 mouse pointer state changes when hold dragging beyond threshold
- Reported
For Gerrit Dashboard: QTBUG-46576 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
138210,5 | xcb: Correct enter/leave event handling when mouse button is pressed | 5.6 | qt/qtbase | Status: MERGED | -2 | 0 |
138222,4 | xcb: correct mouse enter and leave event handling | 5.5 | qt/qtbase | Status: ABANDONED | 0 | 0 |
144897,17 | Correct mouse enter/leave event handling when mouse button is pressed | 5.6 | qt/qtbase | Status: ABANDONED | -1 | 0 |
148135,2 | QtWidgets: Alien widget should be null when mouse is not over popup menu | 5.6 | qt/qtbase | Status: ABANDONED | 0 | 0 |
155866,6 | xcb: Properly process enter/leave events | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |