Repository navigation
fix: 统一 Windows 标题栏并移除传统菜单 - #11
Merged
Merged
Conversation
caidesen
force-pushed
the
fix/windows-window-chrome
branch
from
October 28, 2026 03:51
9a4236d to
b7faa3e
Compare
caidesen
marked this pull request as ready for review
October 28, 2026 05:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows 原生白色标题栏和「文件、编辑、视图、窗口」菜单与应用主题割裂。改为随主题变化的 36px 标题栏,左侧仅保留 TARP 品牌,右侧提供最小化、最大化或还原、关闭按钮,移除传统菜单及折叠菜单入口。
窗口按钮通过原生桥操作当前窗口,关闭仍经过 will-close 离房确认;设置保留侧栏入口,应用快捷键在窗口内处理,文本编辑继续由 WebView 处理。macOS 保留原生交通灯,Linux 保留系统窗口装饰。
本分支基于 main,不包含联机功能。本 PR 用于生成 Windows 实机测试包,先保持草稿。
验证:类型检查、页面生产构建、快捷键测试、标题栏渲染自检、格式及 diff 检查通过。此前完整回归 577 项通过;本 PR CI 将对独立分支再次运行完整检查与三平台打包验收。Windows 实机拖动、贴边、双击缩放、最大化恢复和中文输入待测试包验收。