Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 RC 2
-
None
-
536c9481170c7cd84e5e78edf99ebc943d439b1a
Description
The childAt() function of QQuickItem does not take into account transformations of child items. If children are scaled or rotated, childAt() may return unexpected results.
Attached is a proposed fix. The patch works by mapping the coordinates into the child item's coordinate space. It is then possible to simply compare the given coordinates to the width and height of the child item.