Skip to content

fix: 修复JFXPopup无法关闭并添加关闭动画 - #6860

Open
Wulian233 wants to merge 7 commits into
HMCL-dev:mainfrom
Wulian233:jfxpopup
Open

Wulian233 wants to merge 7 commits into
HMCL-dev:mainfrom
Wulian233:jfxpopup

Conversation

@Wulian233

@Wulian233 Wulian233 commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor
bandicam.2026-09-13.10-16-30-521.mp4

本PR的GameListCell是#6633 的延续,之前的PR没有修复三点按钮重复打开的问题

@github-actions github-actions Bot added the 100+ label Sep 13, 2026
@Glavo

Glavo commented Sep 14, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T13:17:23.261795Z 0a464b8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 0a464b859c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Glavo Glavo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本审查建议由 GPT-5.6 Sol 生成


已将具体审查建议标注在对应代码行。

Comment thread HMCL/src/main/java/com/jfoenix/controls/JFXPopup.java
@Wulian233
Wulian233 requested a review from Glavo September 30, 2026 08:45
@Wulian233

Copy link
Copy Markdown
Contributor Author

/@Glavo review

@Glavo Glavo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本审查建议由 GPT-5.6 Sol 生成


已将具体审查建议标注在对应代码行。

Comment thread HMCL/src/main/java/com/jfoenix/skins/JFXPopupSkin.java
@Wulian233
Wulian233 requested a review from Glavo October 11, 2026 12:41
@Glavo
Glavo requested a balanced review from Copilot October 12, 2026 12:47

@Glavo Glavo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本审查建议由 GPT-6 Astra 生成


已将具体审查建议标注在对应代码行。

Comment thread HMCL/src/main/java/com/jfoenix/controls/JFXPopup.java

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Consuming all auto-hide events forces users to click other controls twice.

1 open finding
What changed in this PR

Adds reliable JFXPopup toggling and an animated close lifecycle.

Changes:

  • Caches instance-management popups to support toggle-to-close behavior.
  • Adds close animation, cancellation, event routing, and cleanup.
  • Supports reopening and repositioning during close animations.
File Description
GameListCell.java Reuses and toggles management popups.
JFXPopupSkin.java Implements close animation and event handling.
JFXPopup.java Integrates animated hiding and reopening.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameListCell.java Outdated
@Wulian233 Wulian233 changed the title 修复JFXPopup无法关闭并添加关闭动画 fix: 修复JFXPopup无法关闭并添加关闭动画 Oct 17, 2026

@Glavo Glavo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本审查建议由 GPT-6 Astra 生成


已将具体审查建议标注在对应代码行。

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameListCell.java Outdated
Iu-yang1 added a commit to Iu-yang1/HMCL-Fix that referenced this pull request Oct 21, 2026
Iu-yang1 added a commit to Iu-yang1/HMCL-Fix that referenced this pull request Oct 21, 2026
Upstream HMCL HMCL-dev#6194 HMCL-dev#6860 HMCL-dev#6947 HMCL-dev#6747 HMCL-dev#6806 HMCL-dev#6407 HMCL-dev#6869 HMCL-dev#6825. Adapt JFXPopup and mod update logic to preserve existing fork features; retain crash diagnostics. Java CI and Check Codes passed; JAR/EXE/SH/DEB and nonempty credentials verified.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants