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

+11 -2
View File
@@ -117,7 +117,12 @@ Item {
Rectangle {
anchors.fill: parent
color: "#bf000000"
MouseArea { anchors.fill: parent; onClicked: QbzLocal.ripWizardClose() }
MouseArea {
anchors.fill: parent
onClicked: QbzLocal.ripWizardClose()
// Wheel-lock (the DiscoverConfigModal rule).
onWheel: function (wheel) { wheel.accepted = true }
}
}
Rectangle {
@@ -131,7 +136,11 @@ Item {
border.color: theme.borderSubtle
clip: true
MouseArea { anchors.fill: parent }
MouseArea {
anchors.fill: parent
// Wheel-lock (the DiscoverConfigModal rule).
onWheel: function (wheel) { wheel.accepted = true }
}
// ---- Header + step dots ----------------------------------------
Item {