Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.1
-
None
-
-
731cc2dbf (dev), c2037e20a (6.5), 5f9417c35 (6.4)
Description
Opening a Popup (modal: false) inside another Popup (modal: true) breaks the mouse wheel functionality of the top level item. The modality of the lower level Popup filters the wheel event out. Changing the modality to false, enables the mouse wheel again.
Suspicion:
The QQuickOverlay::eventFilter calls for a Wheel::Event the function popupItem->isAncestorOf(topItem) on the popupItem of the modal Popup, which is false if the topItem resides in another Popup. Thus, the EventFilter returns true. This Wheel::Event case is new in Qt6.4.1 compared to Qt5.12.2, in which I didn't run into this issue.
Example:
1) click into green square -> prints: "mouse press from green"
2) use mouse wheel inside green square -> nothing
Expected Behavior:
1) use mouse wheel inside green square -> print: "wheel from green"
Attachments
Issue Links
- relates to
-
QTBUG-107013 Wheel scroll event propagated from a modal dialog to the dialog below (Quick)
- Closed
-
QTBUG-111120 Flickable does not react to mouse scroll
- Reported