-
Notifications
You must be signed in to change notification settings - Fork 476
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
8307117: TextArea: wrapText property ignored when changing font #1217
8307117: TextArea: wrapText property ignored when changing font #1217
Conversation
👋 Welcome back angorya! A progress list of the required criteria for merging this PR into |
@andy-goryachev-oracle This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
keep alive |
@andy-goryachev-oracle This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
keep alive |
@andy-goryachev-oracle This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
on second thought, let's address this independently of JDK-8314683. |
Webrevs
|
/reviewers 2 |
@kevinrushforth |
Reviewers: @arapte @karthikpandelu This seems reasonable, but I'll let Ambarish and Karthik review. My only question is whether it would it be possible to create an automated test for this? |
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved. | |||
* Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved. |
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.
minor: year should be 2024.
We update copyright years in bulk before releases/new year, so in general one can avoid changing copyright year along with fix.
With this change observed a behavior that: When changing font size from smaller size to larger size such that larger size font does not fit in one line, text is first layouted vertically and then layouted horizontally. visible-relayout-flicker-like-feel.movI tried adding few more calls to the listener as below, but it did not change the behavior:
|
I can also see the same behaviour which @arapte mentioned above. |
The flicker you see is a subject of another ticket, JDK-8305003. |
yes, that's JDK-8314683 |
created a robot 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.
LGTM
@andy-goryachev-oracle This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit de0255d.
Your commit was automatically rebased without conflicts. |
@andy-goryachev-oracle Pushed as commit de0255d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Requesting content layout when font changes.
This change makes the visual impact of JDK-8314683 more visible, so perhaps both bugs should be fixed at the same time.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1217/head:pull/1217
$ git checkout pull/1217
Update a local copy of the PR:
$ git checkout pull/1217
$ git pull https://git.openjdk.org/jfx.git pull/1217/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1217
View PR using the GUI difftool:
$ git pr show -t 1217
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1217.diff
Webrev
Link to Webrev Comment