Hi.

I have a question for people who routinely use right-to-left RTL languages 
(Arabic, Hebrew, etc.):

What is your expectation for navigating text using left/right arrow keys when 
the text contains a mixture of RTL and LTR?

It looks like there is no standard when it comes to modern applications – see a 
small sample:
https://gist.github.com/andy-goryachev-oracle/4802f9380fb03ec2be7ac36bd98a2059

In javafx, the navigation of bidirectional (bidi) text might have been broken 
sometime after jfx8, and even jfx8 might have issues, see
https://bugs.openjdk.org/browse/JDK-8296266

It looks like the most modern applications use logical navigation and logical 
selection (that is, when navigating using left/right arrow keys, the cursor 
position reflects previous/next insertion indexes in the text, rather than 
visual position).  This causes the cursor to change the direction of movement 
when it crosses the bidi boundary.  Would you say this is the expected behavior?

Thank you
-andy

Reply via email to