Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saves and Restores the Focus Owner Before and After a Dialog is Shown #39

Merged
merged 2 commits into from
May 7, 2024

Conversation

alonalbert
Copy link
Contributor

This is probably related to DialogSupportingSwingPanel and sometimes causes a crash on Linux when:

  • Click in a code panel to set focus
  • Open Settings
  • Close Settings
  • Press any key

I'm pretty sure this fixes it. I was able to repro very frequently before, and now I can't repro.

That said, I was never able to get a 100% repro case.

This is probably related to `DialogSupportingSwingPanel` and sometimes causes a crash on Linux when:
 * Click in a code panel to set focus
 * Open Settings
 * Close Settings
 * Press any key

 I'm pretty sure this fixes it. I was able to repro very frequently before, and now I can't repro.

 That said, I was never able to get a 100% repro case.
@romainguy romainguy merged commit 8b12f46 into romainguy:main May 7, 2024
@alonalbert alonalbert deleted the dialog-state branch May 8, 2024 13:49
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.

2 participants