qtdeclarative/tests/auto/quickcontrols2
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
..
accessibility Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
bic/data Restructure tests in preparation for merging into qtdeclarative 2021-08-02 13:05:48 +02:00
cmake CMake: Bump almost all cmake_minimum_required calls to 3.16 2021-09-24 14:56:24 +02:00
controls Controls: Bypass bindings when setting x and y in resizeBackground 2024-04-17 16:55:39 +02:00
cursor Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
customization Rename android_dummy_imports.qml to dummy_imports.qml 2022-03-05 18:07:03 +00:00
deferred Deferred properties: avoid spurious binding loop 2023-09-11 18:17:06 +02:00
designer Rename android_dummy_imports.qml to dummy_imports.qml 2022-03-05 18:07:03 +00:00
focus Set PopupFocusReason when focus moves because a popup opens or closes 2021-12-06 09:09:26 +01:00
font Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
palette Fix Quick Palette test after qtbase change 2021-12-07 18:41:59 +00:00
platform Platform: fix MenuItem being triggered when disabled 2022-08-25 06:55:25 +00:00
pointerhandlers Cleanup CMakeLists.txt files 2022-06-07 09:41:16 +02:00
pressandhold QML: Add indirect library dependencies for tests relying those 2022-03-04 10:13:29 +02:00
qquickapplicationwindow Android: enable tst_QQuickApplicationWindow 2022-06-04 15:25:55 +02:00
qquickcolor Restructure tests in preparation for merging into qtdeclarative 2021-08-02 13:05:48 +02:00
qquickcontrol QQuickControlPrivate::resizeBackground: preserve geometry binding 2022-06-09 16:48:18 +00:00
qquickdrawer Drawer: don't get stuck in open state after touches outside 2022-12-19 10:01:36 +01:00
qquickheaderview Rewrite tst_QQuickHeaderView::testOrientation 2022-06-04 11:13:31 +02:00
qquickiconimage Disable failing declarative tests on Android - Part 2 2022-03-04 18:58:22 +02:00
qquickiconlabel QQuickIcon: Resolve source URL relative to outermost property owner 2022-02-18 14:50:38 +00:00
qquickimaginestyle Decrease flakiness of Imagine style autotest 2022-09-28 12:17:57 +00:00
qquickmaterialstyle Restructure tests in preparation for merging into qtdeclarative 2021-08-02 13:05:48 +02:00
qquickmaterialstyleconf Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
qquickmenu Menu: fix contentItem's interactive 2023-11-21 13:13:52 +00:00
qquickmenubar Fix window activation usage in QQuickMenu(Bar) 2022-07-07 09:46:41 +02:00
qquickninepatchimage NinePatchImage: support the compressed texture image 2023-05-16 17:30:04 +09:00
qquickpopup Reset hover state for the items within the quick popup window 2024-07-09 09:18:18 +02:00
qquickstyle tst_QQuickStyle: unbreak ubsan build 2022-06-17 14:22:44 +00:00
qquickuniversalstyle Restructure tests in preparation for merging into qtdeclarative 2021-08-02 13:05:48 +02:00
qquickuniversalstyleconf Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
revisions QML: Add indirect library dependencies for tests relying those 2022-03-04 10:13:29 +02:00
sanity Menu: fix contentItem's interactive 2023-11-21 13:13:52 +00:00
snippets QML: Add indirect library dependencies for tests relying those 2022-03-04 10:13:29 +02:00
styleimports Add file selector for custom styles when using run-time style selection 2022-06-04 09:13:59 +00:00
styleimportscompiletimematerial Consolidate test helpers into private libraries 2021-09-14 12:13:57 +02:00
styleimportscompiletimeqmlonly QQuickApplicationHelper: move initialProperties before qmlImportPaths 2022-06-15 18:25:25 +00:00
translation QQuickItemViewTransitionAttached: Avoid dangling pointers 2021-12-01 09:12:21 +00:00
CMakeLists.txt Deferred properties: avoid spurious binding loop 2023-09-11 18:17:06 +02:00