Skip to content

fix: 统一 Windows 标题栏并移除传统菜单 - #11

Merged
caidesen merged 1 commit into
mainfrom
fix/windows-window-chrome
Oct 28, 2026
Merged

caidesen merged 1 commit into
mainfrom
fix/windows-window-chrome

Conversation

@caidesen

Copy link
Copy Markdown
Contributor

Windows 原生白色标题栏和「文件、编辑、视图、窗口」菜单与应用主题割裂。改为随主题变化的 36px 标题栏,左侧仅保留 TARP 品牌,右侧提供最小化、最大化或还原、关闭按钮,移除传统菜单及折叠菜单入口。

窗口按钮通过原生桥操作当前窗口,关闭仍经过 will-close 离房确认;设置保留侧栏入口,应用快捷键在窗口内处理,文本编辑继续由 WebView 处理。macOS 保留原生交通灯,Linux 保留系统窗口装饰。

本分支基于 main,不包含联机功能。本 PR 用于生成 Windows 实机测试包,先保持草稿。

验证:类型检查、页面生产构建、快捷键测试、标题栏渲染自检、格式及 diff 检查通过。此前完整回归 577 项通过;本 PR CI 将对独立分支再次运行完整检查与三平台打包验收。Windows 实机拖动、贴边、双击缩放、最大化恢复和中文输入待测试包验收。

@caidesen caidesen closed this Oct 27, 2026
@caidesen caidesen reopened this Oct 27, 2026
@caidesen caidesen closed this Oct 27, 2026
@caidesen
caidesen deleted the fix/windows-window-chrome branch October 27, 2026 05:48
@caidesen
caidesen restored the fix/windows-window-chrome branch October 28, 2026 03:12
@caidesen caidesen reopened this Oct 28, 2026
@caidesen
caidesen force-pushed the fix/windows-window-chrome branch from 9a4236d to b7faa3e Compare October 28, 2026 03:51
@caidesen
caidesen marked this pull request as ready for review October 28, 2026 05:31
@caidesen
caidesen merged commit 17e27e5 into main Oct 28, 2026
4 checks passed
@caidesen
caidesen deleted the fix/windows-window-chrome branch October 28, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant