### Operating system / 操作系统 macOS ### OS version and display / 系统版本与显示 macOS 15.8.3 ### Pebrel version / 版本号 2.5.9 ### How did you install Pebrel? / 安装方式 GitHub Release (.exe / .zip / .dmg / .AppImage / .deb) ### Shell in the affected pane / 出问题的面板用的 Shell zsh ### Program running in the pane / 面板里正在跑的程序 Nothing, plain shell prompt / 什么都没跑 ### Connection type / 连接方式 Local terminal / 本地终端 ### Affected area / 影响范围 Tabs / splits / session restore / window size — 标签页、分屏、会话恢复、窗口尺寸, Settings / theme / layout / blur — 设置页、主题、布局、模糊背景 ### Did it work in a previous version? / 旧版本是否正常? Not sure / 不确定 ### Can you reproduce it? / 复现概率 Always (100%) / 必现 ### Steps to reproduce / 复现步骤 1. 启动已安装的 Pebrel 2.5.9,使用 Catppuccin Macchiato 主题,应用背景色为 #24273a,标签页位置设为左侧侧栏。 3. 在普通窗口模式下观察顶部:红黄绿窗口按钮、侧栏按钮、设置按钮等正常显示,标题栏背景与应用暗色主题一致。 4. 进入 macOS 原生全屏模式,不是仅将普通窗口最大化。 5. 将鼠标移离屏幕顶部,等待系统菜单栏和窗口按钮隐藏。 6. 顶部仍有一整条灰色区域,与下方应用主题不一致,并持续占据高度。 7. 再将鼠标移到屏幕顶部:系统菜单栏出现,红黄绿窗口按钮显示在该灰色区域内,侧栏按钮、设置按钮未出现。 ### Expected behavior / 期望结果 1. 原生全屏后,系统菜单栏和窗口按钮应按 macOS 的正常机制显示、隐藏。 2. 鼠标移开顶部后,不应继续留下与应用主题不一致的空白灰色区域。 3. 如果需要保留应用自己的工具栏或标签行,该区域应正确显示对应控件和主题背景,而不是成为空白灰条。 4. 普通窗口中的交通灯、标题栏拖动区域,以及顶部标签和左侧标签两种布局应保持正常。 ### Actual behavior / 实际结果 1. 普通窗口: - 顶部窗口按钮和应用控件正常。 - 标题栏背景与暗色主题保持一致。 2. 全屏,鼠标移开顶部: - 系统菜单栏和窗口按钮已经隐藏。 - 灰色顶部区域仍然存在,横跨窗口宽度,并持续占据高度。 - 这一区域与下方侧栏和终端的主题背景明显不同。 3. 全屏,鼠标触顶: - 系统菜单栏出现。 - 红黄绿窗口按钮显示在灰色区域内。 本次反馈的重点不是鼠标触顶时正常出现的系统菜单栏,而是 鼠标移开、系统栏隐藏后仍保留的灰色标题栏区域。 ### Logs / screenshots / 日志或截图 1. 普通窗口 <img width="1750" height="350" alt="1" src="https://github.com/user-attachments/assets/b252222e-2d90-4bb8-b845-b6c79d1257ef" /> 2. 原生全屏,鼠标移离顶部 <img width="1618" height="360" alt="2" src="https://github.com/user-attachments/assets/bfe2abf9-6b2a-48b0-bc2e-d546ab17de55" /> 3. 原生全屏,鼠标悬停顶部 <img width="1488" height="352" alt="3" src="https://github.com/user-attachments/assets/6b0d34c9-4b73-4bb8-b579-da37503b88cc" /> ### Non-default settings / 改过的设置 主题:Catppuccin Macchiato 应用背景色:#24273a 标签页位置:左侧侧栏 ### Before submitting / 提交前确认 - [x] I tested with the latest release / 已用最新版本试过 - [x] I searched existing issues and did not find a duplicate / 已搜索,无重复 - [x] I removed passwords, private keys, tokens and other secrets / 已删除敏感信息
Activity
Kuddev commentedon Nov 21, 2026
macOS 原生全屏顶部灰条已由 #1031 修复,已合入主线
9a6e19ed。用 2.6.1 和候选版本各连续切换两次全屏,旧版两次都留下原生工具栏,修复版两次都隐藏工具栏并保留透明标题栏,退出全屏后工具栏恢复。2.6.2 尚未发布。AppKit 对照记录 · 五平台检查