-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.15, 6.2
-
None
-
Ubuntu 19.04 Deepin
Steps to reproduce:
1. Move the mouse to the button, the value obtained by testAttribute(Qt::WA_UnderMouse) is true;
2. Use the timer to modify the WA_UnderMouse value of this widget to false;
3. Click the button again, the value of WA_UnderMouse is still false, this time the button is under the mouse; see error.mp and demo
4. When the mouse moves and enters the button again, the value of WA_UnderMouse is true
expect:
As long as the widget is under the mouse, the value of WA_UnderMouse is always true.
| For Gerrit Dashboard: QTBUG-95060 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 360145,1 | widget set Qt::WA_UnderMouse should consider QCursor::pos | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |