### Operating system / 操作系统 Linux ### OS version and display / 系统版本与显示 Arch Linux x86_64,Linux 7.3.4-arch1-2,KDE Plasma 6.8.3,KWin 6.8.3-1,wayland 1.26.0-1。使用原生 Wayland,在全新配置的 KWin 虚拟会话中复现。 ### Pebrel version / 版本号 2.5.9 (4ad8f77) ### How did you install Pebrel? / 安装方式 GitHub Release (.exe / .zip / .dmg / .AppImage / .deb) ### Shell in the affected pane / 出问题的面板用的 Shell bash ### Program running in the pane / 面板里正在跑的程序 Nothing, plain shell prompt / 什么都没跑 ### Connection type / 连接方式 Local terminal / 本地终端 ### Affected area / 影响范围 Settings / theme / layout / blur — 设置页、主题、布局、模糊背景 ### Did it work in a previous version? / 旧版本是否正常? Not sure / 不确定 ### Can you reproduce it? / 复现概率 Always (100%) / 必现 ### Steps to reproduce / 复现步骤 1. 启动 KDE Wayland 会话,使用默认 KWin 装饰,且没有匹配 Pebrel 的窗口规则。 2. 从 [官方 v2.5.9 Release](https://github.com/Kuddev/pebrel/releases/tag/v2.5.9) 下载 `Pebrel-v2.5.9-linux-x64-preview.deb`。解包后用全新配置直接运行解出的 `usr/bin/pebrel`(官方原始二进制)。 3. 观察普通窗口顶部。 ### Expected behavior / 期望结果 窗口只显示一套标题栏和窗口按钮。 ### Actual behavior / 实际结果 同一个普通窗口顶部同时出现 KWin 绘制的外层标题栏和 Pebrel 自带的标题栏。 ### Logs / screenshots / 日志或截图 开启 `WAYLAND_DEBUG=client` 后,Pebrel 请求服务端装饰(模式 2),KWin 的应答也是模式 2。 ```text -> zxdg_toplevel_decoration_v1#27.set_mode(2) zxdg_toplevel_decoration_v1#27.configure(2) ``` KWin 报告该窗口 `noBorder=false`。供定位参考,v2.5.9 的 [GPUI 窗口初始化](https://github.com/Kuddev/pebrel/blob/v2.5.9/nebula_app/src/gpui_shell/workspace/windowing/startup_geometry.rs#L261-L275) 设置了自绘标题栏选项,未显式设置 `window_decorations`。 ### Non-default settings / 改过的设置 全新 Pebrel 配置。KWin 使用默认装饰,未设置 Pebrel 专属窗口规则。 ### Before submitting / 提交前确认 - [x] I searched existing issues and did not find a duplicate / 已搜索,无重复 - [x] I tested with the latest release / 已用最新版本试过 - [x] I removed passwords, private keys, tokens and other secrets / 已删除敏感信息
Activity
Kuddev commentedon Nov 21, 2026
已由 #1071 合入 main。用原版 2.6.1 和修复后的桌面程序在同一个 KWin Wayland 会话中实测,安装了 Breeze 窗口装饰。原版请求并最终确认服务端装饰(2),修复版请求并最终确认客户端装饰(1)。普通窗口由 Pebrel 绘制自己的标题栏。验证读取的是同一窗口实际确认的配置序号。原生对照记录