Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.14.2, 5.15.6
Description
When a Map has a Plugin set and the Map has a child containing a Loader, changing the Loader sourceComponent seems to cause a temporary hiccup with mouse events for a loaded MouseArea. Without a plugin set this problem does not occur.
Normally the mouse press or release event would reach the loaded MouseArea when the MouseArea is clicked but after a sourceComponent change the first mouse press & release will not do that if mouse cursor has moved after sourceComponent change. On any subsequent clicks the events reach the MouseArea.
This problem does not occur at least in Qt 5.12.6.
Steps to reproduce the issue:
- Build and run the attached example
- Click on "MouseArea 0". This will change the Loader sourceComponent and "MouseArea 0" will be replaced with "MouseArea 1".
- Move the cursor a few pixels in any direction
- Click on "MouseArea 1" & monitor the logged press & release events => events not reaching the MouseArea