-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.7.2
-
None
-
-
252195eb0 (dev), 39e8c511f (6.8)
We use ScrollView a lot. However, we recently found a problem with ScrollView and the mouse interaction. The problem comes when the ScrollView contains items that interact with the mouse: The items loose mouse focus, when the mouse is moved vertically!
A more detailed description:
- Our item is derived from QQuickPaintedItem, and overrides the mouse events for click and move.
- The first mouse (left) click is always received correctly by our item, and accepted by us.
- Mouse move (while button pressed) is still detected ok for a short while, as long as the mouse is moved mostly horizontally.
- As soon as the mouse is moved more vertically, no more mouse events are received by our item.
- While we observe the problem, the ScrollView does not scroll, but this is most probably because the ScrollView is under-full (and there is nothing to scroll)
Note: Our item does call accept() on all mouse events that it receives, so that they should not be forwarded to the ScrollView.