-
Notifications
You must be signed in to change notification settings - Fork 473
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
8342233: Regression: TextInputControl selection is backwards in RTL mode #1609
base: master
Are you sure you want to change the base?
8342233: Regression: TextInputControl selection is backwards in RTL mode #1609
Conversation
into ag.rtl.regression.2
…into ag.rtl.regression.2
👋 Welcome back angorya! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
|
return getInsertionPoint(paragraphNode, | ||
x - paragraphNode.getLayoutX(), | ||
y - paragraphNode.getLayoutY()); | ||
if ( |
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.
I really don't like empty opening brackets in conditions but i guess it is not explicitly prohibited. Aside of that fix looks reasonable.
A fix for JDK-8319844 Text/TextFlow.hitTest() is incorrect in RTL orientation
introduced a regression in the
TextArea
/TextField
/PasswordField
in the RTL mode (who would have thunked that RTL-oriented text components sends MouseEvents with flipped x coordinates to some of its children, but not the others?).The fix is to flip the x coordinates when needed in the
TextAreaSkin
/TextFieldSkin
.I tried to devise a headful test, but it is currently blocked by JDK-8189167
The fix can be tested manually using the Monkey Tester, with the headful test to be added probably as a part of JDK-8326869 .
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1609/head:pull/1609
$ git checkout pull/1609
Update a local copy of the PR:
$ git checkout pull/1609
$ git pull https://git.openjdk.org/jfx.git pull/1609/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1609
View PR using the GUI difftool:
$ git pr show -t 1609
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1609.diff