qtdeclarative/tests/auto/quickcontrols2/qquickpopup/data
Santhosh Kumar f1314d1463 Reset hover state for the items within the quick popup window
The hovered state of the item within the quick popup has not been
reset when another modal popup is placed over it. This is because,
after patch 48da34f3d7, the overlay
filters the hover events of the quick controls which are modally
blocked.

But this can create an issue if the child item of the pop is
already in a hovered state and there is another modal popup placed
over it, as any further hover events (including the HoverLeave of
the control item) will be forwarded and handled by the modal popup
which doesn't allow the child item to resets its hovered state.

This patch allows the child item of the popup to handle hover
release event when it's already in the hovered state.

Fixes: QTBUG-126626
Change-Id: Ibf7f5ad8653a8c0df9968114ab6b8228acba9d6e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 7712fbc0f0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6958577abd)
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit ceace5f3a6)
(cherry picked from commit b2cfed01bea64861e91bc8eb783df982347c10fd)
2024-07-09 09:18:18 +02:00
..
activeFocusAfterExit.qml Fix activeFocus for highest-z popup 2021-10-15 05:51:14 +00:00
activeFocusOnClose1.qml
activeFocusOnClose2.qml
activeFocusOnClose3.qml
activeFocusOnClosingSeveralPopups.qml
activeFocusOnDelayedEnter.qml Give focus to popup on prepareEnter instead of finalizeEnter 2021-10-18 07:04:15 +00:00
applicationwindow-hover.qml tst_qquickpopup: Fix child button position 2022-08-03 10:47:36 +00:00
applicationwindow-wheel.qml Implement modal blocking for wheel events 2022-10-20 00:28:07 +00:00
applicationwindow.qml Popup: don't close when releasing a drag outside of the popup 2022-06-04 09:13:51 +00:00
centerInOverlayWithinStackViewItem.qml
closeOnEscapeWithNestedPopups.qml
closeOnEscapeWithVisiblePopup.qml
countChanged.qml
cursor.qml
destroyDuringExitTransition.qml
dialog.qml
dimmerContainmentMask.qml Don't auto-close popups unless hitting the dimmer 2021-10-20 15:04:55 +00:00
disabledPalette.qml
grabber.qml
invisibleToolTipOpen.qml
mirroredCombobox.qml qquickpopuppositioner: fix popup mirroring 2022-12-21 14:43:55 +01:00
modelessOnModalOnModeless.qml Consider all popups in the stack to test whether an event should be blocked 2021-10-18 13:51:42 +00:00
nested.qml
orientation.qml
releaseAfterExitTransition.qml
resetHoveredForItemsWithinOverlay.qml Reset hover state for the items within the quick popup window 2024-07-09 09:18:18 +02:00
rotatedCombobox.qml qquickpopuppositioner: fix popup mirroring 2022-12-21 14:43:55 +01:00
shrinkPopupThatWasLargerThanWindowHeight.qml Fix Popup not resizing after being resized to fit in window 2022-06-04 13:26:01 +00:00
shrinkPopupThatWasLargerThanWindowWidth.qml Fix Popup not resizing after being resized to fit in window 2022-06-04 13:26:01 +00:00
tabFence.qml
toolTipCrashOnClose.qml
window-hover.qml tst_qquickpopup: Fix child button position 2022-08-03 10:47:36 +00:00
window-wheel.qml Implement modal blocking for wheel events 2022-10-20 00:28:07 +00:00
window.qml Popup: don't close when releasing a drag outside of the popup 2022-06-04 09:13:51 +00:00