From 950cb184f2fbd5d201b05c85c729d4e15630121e Mon Sep 17 00:00:00 2001 From: zhanghongyuan Date: Thu, 12 Mar 2026 11:12:42 +0800 Subject: [PATCH] fix(notification): change bubble window layer from LayerTop to LayerOverlay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix notification bubble window layer to ensure proper display on top of other windows. 修复通知气泡窗口的层级设置,确保正确显示在其他窗口之上。 Log: 修复通知气泡窗口层级显示问题 PMS: BUG-289261, BUG-343503 Influence: 通知气泡现在使用 Overlay 层级,能够正确显示在所有其他窗口之上,修复了在某些情况下通知气泡被遮挡的问题。 --- panels/notification/bubble/package/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/notification/bubble/package/main.qml b/panels/notification/bubble/package/main.qml index 342a14169..0fe1502d1 100644 --- a/panels/notification/bubble/package/main.qml +++ b/panels/notification/bubble/package/main.qml @@ -70,7 +70,7 @@ Window { visible: Applet.visible width: 390 height: Math.max(10, bubbleView.height + bubbleView.anchors.topMargin + bubbleView.anchors.bottomMargin) - DLayerShellWindow.layer: DLayerShellWindow.LayerTop + DLayerShellWindow.layer: DLayerShellWindow.LayerOverlay DLayerShellWindow.anchors: DLayerShellWindow.AnchorBottom | DLayerShellWindow.AnchorRight DLayerShellWindow.topMargin: windowMargin(0) DLayerShellWindow.rightMargin: windowMargin(1)