-
Notifications
You must be signed in to change notification settings - Fork 508
8251241: macOS: iconify property doesn't change after minimize when resizable is false #280
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
Conversation
Fixing miniaturization for mac.
👋 Welcome back fkirmaier! A progress list of the required criteria for merging this PR into |
Webrevs
|
/reviewers 2 |
@kevinrushforth |
Can you change the title to match the JBS title? |
Done! I've changed the title. |
Thank you Florian!!! :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good based on my initial testing, including a modified version of the test program that doesn't temporarily set resizable to true. Nice.
I want to do some additional testing.
I left one minor comment on the code formatting inline.
modules/javafx.graphics/src/main/native-glass/mac/GlassWindow+Java.m
Outdated
Show resolved
Hide resolved
Added missing spaces to match the coding style.
Thank you for the very quick feedback! |
You may have seen my comment in JBS: This PR also fixes JDK-8249202, which I discovered while testing JDK-8248490. This means that I already have an automated test that can be modified to test this. I just need to add a couple things to it (an assertion check for the iconified property, a check to ensure that we can deiconify the stage, and then add a mode to run it with a non-resizable stage). Once I verify it, I can send you the patch for the test, if that's OK with you? |
Here is the patch for IconifyTest.java : I verified that it catches the bugs, in that the modified test fails without the fix and passes with the fix. Can you apply the patch to your repo and push a new commit with the updated test? |
I've added your patch for the unit-test! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for fixing this long-standing bug.
I ran a full set of unit test, including the newly modified one. All looks good.
Can we get one more reviewer on this?
@arapte can you be a second reviewer? |
@FlorianKirmaier This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 6 commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge As you do not have Committer status in this project, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth, @arapte) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@FlorianKirmaier |
/sponsor |
@kevinrushforth @FlorianKirmaier The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 85821ca. |
ticket: https://bugs.openjdk.java.net/browse/JDK-8251241
This small change fixing the minimize for mac.
Changes are property registered.
Calling setIconize(true) no longer resets to false.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/280/head:pull/280
$ git checkout pull/280