Skip to content

Commit 117a4c4

Browse files
committed
fix: uninstall dialog shows dark theme in light mode
Root cause: fullscreen launcher forces DarkType (Main.qml:318), the uninstall DialogWindow inherits it. DialogWindow.qml's StyledBehindWindowBlur blendColor selects dark color under DarkType, combined with KWin blur showing the dark launcher background, resulting in a fully dark dialog. Fix: override themeType to follow system theme and disable enableBlurWindow on the DialogWindow. The two properties together are sufficient - no custom StyledBehindWindowBlur needed. Bug: https://pms.uniontech.com/bug-view-359629.html
1 parent 197916f commit 117a4c4

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

shell-launcher-applet/package/launcheritem.qml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,6 @@ AppletItem {
309309
DWindow.enableBlurWindow: false
310310
DLayerShellWindow.anchors: DLayerShellWindow.AnchorNone
311311

312-
StyledBehindWindowBlur {
313-
id: behindBlur
314-
anchors.fill: parent
315-
control: parent
316-
blendColor: DStyle.Style.control.selectColor(undefined,
317-
Qt.rgba(235 / 255.0, 235 / 255.0, 235 / 255.0, 0.6),
318-
Qt.rgba(0, 0, 0, 85 / 255.0))
319-
}
320-
321312
onVisibleChanged: {
322313
if (!visible) {
323314
LauncherController.setAvoidHide(true)

0 commit comments

Comments
 (0)