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
8230809: HTMLEditor formatting lost when selecting all (CTRL-A) #155
Conversation
👋 Welcome back aghaisas! A progress list of the required criteria for merging this PR into |
/reviewers 2 |
@kevinrushforth |
@guruhb can you also review this? |
@aghaisas 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 7 commits pushed to the ➡️ To integrate this PR with the above commit message, type |
/integrate |
@aghaisas The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 470c7d0. |
Bug : https://bugs.openjdk.java.net/browse/JDK-8230809
Root Cause :
Turned out to be a simpler issue than thought.
Atomicity check was missed while updating toolbar state (which in turn updates styles).
Fix :
Added the missed atomicity check at two places that handle text selection using keyboard keys.
Testing :
Added two system test cases. They fail without this fix and pass with it.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/155/head:pull/155
$ git checkout pull/155