Bug 571642

Summary: Arabic text editing doesn't work the way it did in Proton
Product: [Eclipse Project] Platform Reporter: Hossein Bakhshi <bijan>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: critical    
Priority: P3 CC: eclipse, p.beauvoir, tamirg17
Version: 4.20   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Hossein Bakhshi CLA 2021-03-03 05:34:26 EST
Hi,

My issue started when I switched from Eclipse Proton to IDE Version: 2020-12 (4.18.0) Build id: 20201210-1552 (previous versions to Proton were also fine)

I am working on a system where I need to read & manipulate Arabic text, what has changed which has completely stopped me in my tracks, is the text editor which doesn't behave in the same way as it did in Proton. 

I have many test *.txt files with Arabic text, I very often need to edit Arabic words but in the new IDE, when e.g. I insert a space in an Arabic word, to edit it, the sub-parts of the word immediately switch around which makes the text impossible to read, or if I copy a word e.g. قدرة التحمل from another source (endurance) into the editor, I get this التحمل قدرة which as you can see, the related parts are switched around.

I switched to the latest IDE because I had to get my Maven & Spring projects to work properly and they do now but having finished that stage I have encountered this issue. (btw this odd behaviour happens in the console output too, when I try to copy text from it.)

I have tried all possible combination of Left To right (ltr) and rtl options in the 'Globalisation' option in Preferences AND restarted Eclipse scores of times but nothing works, this is making it impossible for me use Eclipse, can you please help??



Regards Bijan
Comment 1 Holger Voormann CLA 2021-11-30 08:43:41 EST
I cannot reproduce this in the plain Text Editor when running Eclipse with the following arguments:

-dir rtl -bidi "on=y;textDir=rtl"
Comment 2 Holger Voormann CLA 2021-11-30 08:46:02 EST
There is no Eclipse Proton. I guess you mean Eclipse Photon (4.8).
Comment 3 Tamir Ga CLA 2022-04-16 03:13:30 EDT
Hello,

I was still being able to see the text properly on Ecplise IDE - Version: 2020-06 (4.16.0)
Build id: 20200615-1200.

This issue persists to the lateset version of Eclipse IDE - 2022‑03 (as of today).

Please put attention to this for any right to left languages.