Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0 Beta1 , 6.0.2, 6.4.0 RC1
-
None
-
Mac OS X 10.8.5
-
-
c069e85342 (qt/qtdeclarative/dev) c069e85342 (qt/tqtc-qtdeclarative/dev) 95de3442c5 (qt/qtdeclarative/6.4) 95de3442c5 (qt/tqtc-qtdeclarative/6.4)
Description
On Mac OS X, when you load a component dynamically in QML and the mouse pointer is already placed where a MouseArea appears, the mouse pointer is not detected and the property containsMouse stays false. You need to click and/or move the mouse for it to work.
This does not happen on Windows.
Attached a simple example:
- Open the app
- Place the mouse on top of the rectangle => changes color.
- Don't move the mouse and close the app.
- Restart the app => Rectangle stays red until you move the mouse and/or click