fix(qt): wheel-lock sweep across plain-Item modal overlays

Plain-Item overlays get no modal grab, so a MouseArea that swallows
presses still lets the wheel scroll the page underneath (the rule and
its wording live in DiscoverConfigModal.qml). Every scrim and panel
swallow across the modal set now accepts the wheel; the modal Popups
(TrackInfo, CastPicker, AlbumInfo, QconnectDev, LocalMediaInfo) already
had the Overlay grab, and CoverLightbox — a non-modal Popup — gets its
own.

cc
This commit is contained in:
vicrodh committed 2026-08-31 11:50:32 -06:00
1 parent bb3a971c0c
commit 69e5066d07
23 files changed
+190 -28

No files matched your search

+7 -1
View File
@@ -83,6 +83,8 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: QbzShell.logClose()
// Wheel-lock (the DiscoverConfigModal rule).
onWheel: function (wheel) { wheel.accepted = true }
}
}
@@ -109,7 +111,11 @@ Item {
border.color: theme.borderSubtle
// Swallow clicks so they never reach the closing backdrop.
MouseArea { anchors.fill: parent }
MouseArea {
anchors.fill: parent
// Wheel-lock (the DiscoverConfigModal rule).
onWheel: function (wheel) { wheel.accepted = true }
}
// ANCHORED, not a Column. The body is the only stretch row and its
// height depends on which optional rows are mounted (the advanced