Skip to content

Commit 50834d3

Browse files
committed
fix(dialog): remove KWin blur from DialogWindow to fix dark theme issue
DialogWindow previously enabled KWin blur (enableBlurWindow: true) unconditionally. When an application forces dark theme (e.g., dde-launchpad in fullscreen mode), the blur shows the dark background through the dialog, making it appear dark even in light system theme. Remove enableBlurWindow and set color to transparent directly, so DialogWindow uses the standard DTK palette without KWin blur side effects. Bug: https://pms.uniontech.com/bug-view-359629.html
1 parent df9e39f commit 50834d3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

qt6/src/qml/DialogWindow.qml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ Window {
1919
D.DWindow.enableSystemResize: false
2020
D.DWindow.motifFunctions: D.WindowManagerHelper.FUNC_ALL & ~D.WindowManagerHelper.FUNC_RESIZE
2121
D.DWindow.wmWindowTypes: D.WindowManagerHelper.DialogType
22-
D.DWindow.enableBlurWindow: true
2322
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.MSWindowsFixedSizeDialogHint
2423
D.ColorSelector.family: D.Palette.CrystalColor
25-
color: D.DWindow.enableBlurWindow ? "transparent" : (active ? D.DTK.palette.window : D.DTK.inactivePalette.window)
24+
color: "transparent"
2625
height: content.height
2726
width: content.width
2827

0 commit comments

Comments
 (0)