From 3c823a6d2dea868ca41dd8cc619b6d6066f5129c Mon Sep 17 00:00:00 2001 From: Wu JiangYu Date: Fri, 20 Nov 2026 16:48:31 +0800 Subject: [PATCH] fix(launcher): apply platform window radius to preview window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Set DWindow.windowRadius from DTK platform theme for the preview window 2. Keep the preview window corners consistent with the system theme radius Log: Apply platform window radius to launcher preview window Influence: Preview window corners match the system theme fix(launcher): 为预览窗口应用平台圆角 1. 为预览窗口设置来自 DTK 平台主题的 DWindow.windowRadius 2. 使预览窗口圆角与系统主题圆角保持一致 Log: 为启动器预览窗口应用平台圆角 Influence: 预览窗口圆角与系统主题保持一致 PMS: BUG-296897 (cherry picked from commit 02122b635dcb868565f5fbb07b4859749cc93c48) --- shell-launcher-applet/package/launcheritem.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/shell-launcher-applet/package/launcheritem.qml b/shell-launcher-applet/package/launcheritem.qml index 985f7c7c..9a40b9ab 100644 --- a/shell-launcher-applet/package/launcheritem.qml +++ b/shell-launcher-applet/package/launcheritem.qml @@ -413,6 +413,7 @@ AppletItem { property string appId: "" property string appName: "" + DWindow.windowRadius: D.DTK.platformTheme.windowRadius Component.onCompleted: { DLayerShellWindow.anchors = DLayerShellWindow.AnchorNone }