From da0d9d67ff8e8c13ab31050903fd02f49382f88b Mon Sep 17 00:00:00 2001 From: Wu JiangYu Date: Thu, 20 Aug 2026 15:17:35 +0800 Subject: [PATCH] fix: disable x11 bypass flag in launcher windowed mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Set `useX11BypassWindowManagerHint` to `false` in the windowed mode launcher PanelPopup 2. This ensures the launcher window respects window manager positioning and stacking rules on systems that may have issues with the bypass hint Log: Fixed launcher windowed mode positioning on X11 systems Influence: 1. Verify the windowed mode launcher still opens correctly 2. Test that the launcher window is properly positioned and can be managed by the window manager 3. Verify launcher visibility toggling still works in windowed mode fix: 在启动器窗口模式中禁用x11绕过标志 1. 将窗口模式启动器的 `PanelPopup` 中的 `useX11BypassWindowManagerHint` 设置为 `false` 2. 确保启动器窗口在具有绕过提示问题的系统上遵守窗口管理器的定位和堆叠 规则 Log: 修复 X11 系统上启动器窗口模式的定位问题 Influence: 1. 验证窗口模式启动器仍能正常打开 2. 测试启动器窗口能被正确定位并可被窗口管理器管理 3. 验证窗口模式下启动器的可见性切换功能仍然正常 PMS: TASK-394541 --- debian/control | 2 +- shell-launcher-applet/package/launcheritem.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 5d3e99ed..ba9e110f 100644 --- a/debian/control +++ b/debian/control @@ -25,7 +25,7 @@ Build-Depends: libdtk6gui-dev (>= 6.0.19), libdtk6declarative-dev (>> 6.7.33), dde-api-dev (>> 6.0.39), - libdde-shell-dev (>> 2.0.52), + libdde-shell-dev (>> 2.0.53), libappstreamqt-dev (>= 1.0.0) Standards-Version: 4.6.0 Rules-Requires-Root: no diff --git a/shell-launcher-applet/package/launcheritem.qml b/shell-launcher-applet/package/launcheritem.qml index b14ba723..69456f1c 100644 --- a/shell-launcher-applet/package/launcheritem.qml +++ b/shell-launcher-applet/package/launcheritem.qml @@ -265,6 +265,7 @@ AppletItem { PanelPopup { id: windowedModeLauncher + useX11BypassWindowManagerHint: false property bool visibility: LauncherController.visible && (LauncherController.currentFrame === "WindowedFrame")