Skip to content

修复管理工具首次启动不居中 - #1806

Open
success-crypto wants to merge 1 commit into
BigPizzaV3:mainfrom
success-crypto:agent/center-manager-on-startup
Open

修复管理工具首次启动不居中#1806
success-crypto wants to merge 1 commit into
BigPizzaV3:mainfrom
success-crypto:agent/center-manager-on-startup

Conversation

@success-crypto

@success-crypto success-crypto commented Aug 8, 2026

Copy link
Copy Markdown

#1619 的反馈基于最新 main(v1.2.47)重做。

问题

管理工具首次启动时未指定窗口位置,由系统决定放置位置。

修改

  • 创建主窗口时调用 Tauri center()
  • 添加启动居中测试

本次不修改关闭、最小化、托盘或 --transient 生命周期逻辑。

验证

  • cargo test -p codex-plus-manager --test windows_subsystem:23 项通过
  • cargo test -p codex-plus-core --test upstream_theme_assets:2 项通过

@success-crypto

Copy link
Copy Markdown
Author

已按 #1619 的反馈基于 v1.2.45 重做为最小补丁,仅处理首次启动居中,不再修改窗口生命周期逻辑。当前 PR build artifacts 工作流状态为 action_required,烦请批准来自 Fork 的 CI 运行,以验证 Windows、Intel Mac 和 Apple Silicon Mac 构建。

@success-crypto
success-crypto force-pushed the agent/center-manager-on-startup branch from 8f36b01 to 0742100 Compare August 13, 2026 13:43
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