diff --git a/qml/FullscreenFrame.qml b/qml/FullscreenFrame.qml index a0c2b72e..9d3cc7ee 100644 --- a/qml/FullscreenFrame.qml +++ b/qml/FullscreenFrame.qml @@ -77,9 +77,7 @@ InputEventItem { repeat: false } - background: Image { - source: DesktopIntegration.backgroundUrl - + background: Item { Rectangle { anchors.fill: parent color: folderGridViewPopup.visible ? Qt.rgba(0, 0, 0, 0.6) : Qt.rgba(0, 0, 0, 0.5) diff --git a/qml/Main.qml b/qml/Main.qml index e1a8d6df..f28b44d1 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -302,6 +302,23 @@ QtObject { // Fullscreen mode: always assume dark theme DWindow.themeType: ApplicationHelper.DarkType + color: "transparent" + + StyledBehindWindowBlur { + control: parent + anchors.fill: parent + blendColor: { + if (valid) { + return DStyle.Style.control.selectColor(undefined, + Qt.rgba(235 / 255.0, 235 / 255.0, 235 / 255.0, windowedFrameWindow.blendColorAlpha(0.6)), + Qt.rgba(0, 0, 0, windowedFrameWindow.blendColorAlpha(85 / 255))) + } + return DStyle.Style.control.selectColor(undefined, + DStyle.Style.behindWindowBlur.lightNoBlurColor, + DStyle.Style.behindWindowBlur.darkNoBlurColor) + } + } + onVisibleChanged: { if (visible) { requestActivate()