Repository navigation
复用 DSH 启动页完成配置准备,修复退出和恢复 - #209
Merged
Merged
Conversation
Centralize the desktop profile and theme row identifiers, report a startup-theme read failure before falling back to system, and pin the profile name with a source-level consistency test. Document the Runtime patch in the DSH adaptation boundary.
This was referenced Oct 23, 2026
Merged
JJasonSun
marked this pull request as ready for review
October 23, 2026 17:31
JJasonSun
marked this pull request as draft
October 23, 2026 17:36
4 tasks done
Contributor
Author
JJasonSun
marked this pull request as draft
October 25, 2026 07:31
JJasonSun
marked this pull request as ready for review
October 25, 2026 07:49
Contributor
Author
|
@freedomkk-qfeng #209 已更新到 本地 166 项回归、18 组 Electron 检查通过,macOS 已实测隐藏、退出和失败重试。Windows 和 Web CI,以及 macOS 更新器检查已通过;macOS 原生集成和构建检查仍在排队。麻烦 review,确认无问题且 CI 通过后再合入。 系统深色、应用强制浅色时的短暂主题跳变,是已在官方 DSH 客户端复现并向上游反馈的已知问题,见 DSH #10813。本 PR 继续复用上游主题逻辑。Windows 界面验收也尚未完成,#184 暂时保持开放。 |
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.
Summary
关联 #184。普通启动按锁定的 DSH 顺序加载主窗口页面、启动 Host,再显示窗口。首次发行配置下载和旧版迁移直接使用主窗口已有的 BootPage 加载页,完成后继续进入工作台。
删除独立准备窗及两个窗口之间的交接逻辑。保留产品名称、Logo、上游加载进度,以及用户隐藏窗口的选择;Dock、托盘和重复启动可以恢复正在准备的主窗口。
主入口与 Boot、locale 请求共用一次启动。配置或 Host 失败时只进入一次恢复页,保留重试下载和签名离线包导入,恢复页支持系统深浅外观。确认退出后先取消下载和 Shell 探测、等待资源清理,再在原生退出事件返回后结束进程。晚到的回退、重试和文件选择结果不会再触发重启或弹窗;取消退出时继续启动。
Evidence
macOS 深色模式下的首次配置准备(本次隔离验收截图):
After: 重建 shell 的 macOS 隔离副本中,首次配置与日常启动均只显示一个主窗口;窗口显示后的深色采样分别检查了 184、66 帧,未发现浅色帧。采样不保证覆盖所有瞬间,也不是启动耗时基准。
probe-native-desktop.mjs共 18 组通过,覆盖真实预加载、主题接管、文本状态更新、原生桥接、权限及退出;Dock 图标与启动图标检查通过。git diff --check通过。当前提交的 CI 见 Checks。Merge Danger
Door: two-way(可回退)。回退此 PR 可恢复原行为;数据格式和依赖锁不变。
Blast Radius: 桌面启动。影响窗口显示、启动失败恢复和退出清理。
系统深色、应用强制浅色时,进入工作台仍能观测到短暂深色帧,主题瞬变仍待处理。本地原生验收使用重建 shell 的 macOS 隔离副本;未完成 Windows 图形界面、完整桌面 Release 和真实历史数据迁移验收。#184 保持开放。