On Mon, 9 Oct 2023 22:17:50 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> PS if I just use simple ASCII text and set Node Orientation to RTL, then 
>> with your fix
>> then left arrow moves right and right arrow moves left.
>> In JDK 8 left arrow moved left and right arrow moved right.
>> With an FX 17 build I have around, then the nothing moves.
>> So it looks like things might have been better when this code was written 
>> and some other change broke it.
>> Your fix unbreaks it, but I'm not entirely sure its restoring intended 
>> behaviour.
>
> what if you have a mixture of RTL and LTR text in JDK8?
> I am going to double check the behavior in JTextArea as well.

what is going on??  JTextArea inside a Scene with RTL orientation:

<img width="550" alt="Screenshot 2023-10-09 at 15 23 51" 
src="https://github.com/openjdk/jfx/assets/107069028/1bd9cda3-71d5-4e41-b475-d5b6c2a010d3";>

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1220#discussion_r1350875555

Reply via email to