[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: respect `qt-backdrop-blur` setting in `ModalDialog`
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed May 13 12:15:18 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
3feb4a06 by Fatih Uzunoglu at 2026-05-13T12:04:25+00:00
qml: respect `qt-backdrop-blur` setting in `ModalDialog`
Amends 7bf2597e.
- - - - -
dcd6957a by Fatih Uzunoglu at 2026-05-13T12:04:25+00:00
qml: consider non-rhi graphics backend in `ModalDialog`
- - - - -
1 changed file:
- modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
Changes:
=====================================
modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
=====================================
@@ -53,18 +53,30 @@ Dialog {
}
Overlay.modal: Item {
+ Rectangle {
+ anchors.fill: blur
+
+ visible: !blur.visible
+
+ color: theme.bg.primary
+
+ opacity: 0.6
+ }
+
Widgets.DualKawaseBlur {
+ id: blur
+
anchors.fill: parent
- anchors.topMargin: MainCtx.windowExtendedMargin
- anchors.leftMargin: MainCtx.windowExtendedMargin
- anchors.rightMargin: MainCtx.windowExtendedMargin
- anchors.bottomMargin: MainCtx.windowExtendedMargin
+ anchors.margins: MainCtx.windowExtendedMargin
+
+ visible: MainCtx.backdropBlurRequested() && blur.available
source: ShaderEffectSource {
- sourceItem: control.rootWindow
+ sourceItem: blur.visible ? control.rootWindow : null
live: true
hideSource: true
}
+
radius: 3
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b0b069394b1aec392fca2dbe8d4f68e217ee2d31...dcd6957affdb3f029e10f82597e71c8b2f47a84b
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b0b069394b1aec392fca2dbe8d4f68e217ee2d31...dcd6957affdb3f029e10f82597e71c8b2f47a84b
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list