Merged
Conversation
- 新增参数化预览诊断会话与真实首帧录制回放支持 - 新增专用 UI test、截图导出和像素分析脚本 - 接入自动开窗与预览内容标识,便于本地独立判断黑边问题
…分析脚本,提升超宽和圆角场景下的像素判定稳定性\n- 补充黑边问题定位、修复原理与自验证流程文档
- 将写死英文的错误提示断言改为与产品代码同源的本地化文案 - 覆盖虚拟显示器、屏幕监听与 Web 服务相关的语言敏感测试场景 - 验证中英文环境下整套 VoidDisplayTests 均可稳定通过
- 预览窗口改用 unified toolbar,避免 compact 标题栏下 principal 分段控件明显偏位 - 将黑底限制在实际预览画面层,保留内容映射的悬浮感并避免 toolbar 被整块压黑 - 撤回失败的滚动隐藏尝试,保持交互代码和视图层级简洁
- 统一预览窗口在适应与 1:1 模式下的 toolbar 材质承接 - 全屏时自动隐藏 toolbar 并修复 1:1 滚动宿主背景影响 - 为适应模式补充拖拽 resize 比例锁定并更新排障文档
- 以 NSWindowDelegate 主导预览窗口的缩放、拖拽与全屏行为 - 删除通知驱动与 contentAspectRatio 补丁,保留 1:1 自由拖拽 - 为双击标题栏缩放与全屏隐藏 toolbar 保留原 delegate 转发能力
- 为适应模式的缩放与拖拽结果增加物理像素对齐,消除静态细白边 - 将原窗口代理改为强持有,确保窗口行为转发在接管期间稳定有效 - 保持 1:1 自由拖拽与现有预览窗口视觉方案不变
- 预览窗口改用 unifiedCompact 工具栏样式,降低标题栏整体高度 - 为比例切换分段控件使用 small control size,保持紧凑且几何居中 - 保持现有预览窗口缩放、全屏与背景承接行为不变
- 为屏幕监听预览增加光标开关并补齐多语言文案 - 维持单条 SCStream 复用并支持共享时强制显示光标 - 共享进行中将预览开关同步为开启态并禁用交互
- 为采集相关 mock 和 fake 会话补齐新的光标控制协议方法 - 同步更新测试用监控会话的 capturesCursor 初始字段 - 确保本地单测与 HomeSmokeTests 可继续编译并通过
CI SummaryRun: Open
Gate rule: target |
- 补充 CaptureController 光标状态同步用例 - 补充 CaptureMonitoringService 光标状态更新用例 - 覆盖 AppBootstrap 诊断场景与默认监控服务分支
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.
变更内容
变更原因
验证方式
xcodebuild -project VoidDisplay.xcodeproj -scheme VoidDisplay -configuration Debug -destination 'platform=macOS,arch=arm64' -derivedDataPath .ai-tmp/pr-verify-3/build buildxcodebuild -project VoidDisplay.xcodeproj -scheme VoidDisplay -destination 'platform=macOS,arch=arm64' -derivedDataPath .ai-tmp/pr-verify-3/unit-tests -testLanguage zh-Hans -testRegion CN -only-testing:VoidDisplayTests testxcodebuild -project VoidDisplay.xcodeproj -scheme VoidDisplay -destination 'platform=macOS,arch=arm64' -derivedDataPath .ai-tmp/pr-verify-3/home-smoke -only-testing:VoidDisplayUITests/HomeSmokeTests test