Skip to content

修复 Issue 素材遮挡弹窗 - #200

Merged
ji233-Sun merged 1 commit into
mainfrom
fix/176-issue-media-overlay
Sep 22, 2026
Merged

ji233-Sun merged 1 commit into
mainfrom
fix/176-issue-media-overlay

Conversation

@Bluepoisons

Copy link
Copy Markdown
Collaborator

问题

CNB Issue 内嵌音视频使用系统原生子 WebView,无法参与 GPUI 的绘制层级,导致“用 AI 处理 Issue”弹窗被播放器遮挡。

修改

  • 将 Issue 处理弹窗的可见状态传递给内嵌媒体播放器
  • 弹窗打开时隐藏原生播放器,关闭后恢复,并保留原有播放器实例与播放状态
  • 将遮挡状态纳入播放器布局缓存,确保位置未变化时仍会更新原生可见性
  • 扩展现有 Issue 导航测试,并补充播放器遮挡判定回归测试

验证

  • cargo fmt --all -- --check
  • python3 scripts/cargo_bounded.py test -p nexus-desktop cnb_navigation_renders_issues_details_and_pagination_without_a_composer
  • python3 scripts/cargo_bounded.py test -p nexus-desktop cnb_media
  • python3 scripts/cargo_bounded.py clippy -p nexus-desktop --all-targets --locked -- -D warnings

Closes #176

@ji233-Sun
ji233-Sun merged commit 8436eff into main Sep 22, 2026
3 checks passed
@ji233-Sun
ji233-Sun deleted the fix/176-issue-media-overlay branch September 24, 2026 06:33
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.

Issue界面素材会遮挡弹出窗口

2 participants