Bug 240773 - [BiDi] [JFace]StringFieldEditor does not support bidi well on Linux
Summary: [BiDi] [JFace]StringFieldEditor does not support bidi well on Linux
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin McGuire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 03:26 EDT by Guo Yun CLA
Modified: 2019-09-06 15:29 EDT (History)
7 users (show)

See Also:


Attachments
Sample code (4.02 KB, application/zip)
2008-07-15 03:26 EDT, Guo Yun CLA
no flags Details
snapshot on Windows (41.25 KB, image/pjpeg)
2008-08-27 22:48 EDT, Guo Yun CLA
no flags Details
snapshot on Linux (34.77 KB, image/pjpeg)
2008-08-27 22:48 EDT, Guo Yun CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yun CLA 2008-07-15 03:26:38 EDT
Created attachment 107422 [details]
Sample code

Build ID: Version: 3.4.0
Build id: I20080617-2000

Steps To Reproduce:
1. Use StringFieldEditor to contribute a text editor preference eara in Preference page
2. Use -dir rtl to run the in bidi mode
3. Found the text inputted in it is still align to left, not align right. 

Attached the sample code below.


More information:

Same source code works well on Windows platform.
Comment 1 Eric Moffatt CLA 2008-07-23 15:06:15 EDT
Assigning back to the inbox for another look...
Comment 2 Boris Bokowski CLA 2008-08-27 13:47:55 EDT
Felipe, do you think this is another duplicate of bug 236513?
Comment 3 Felipe Heidrich CLA 2008-08-27 14:28:23 EDT
screenshot ?
Comment 4 Boris Bokowski CLA 2008-08-27 15:28:02 EDT
Guo Yun, could you please attach screenshots to this bug, ideally one on Windows showing the correct behaviour, and one on Linux showing the problem?
Comment 5 Guo Yun CLA 2008-08-27 22:48:22 EDT
Created attachment 111146 [details]
snapshot on Windows
Comment 6 Guo Yun CLA 2008-08-27 22:48:54 EDT
Created attachment 111147 [details]
snapshot on Linux
Comment 7 Felipe Heidrich CLA 2008-08-28 14:23:45 EDT
Okay, in GTK alignment is switched automatically according with the paragaph reading order (which is a good thing).

Fixing 236513 will fix this too (note that the description of 236513 doesn't say anything about alignment so this is not very intuitive).

Last note: we fixed this problem for label, see Bug 222582.

Feel free to close as a duplicate of 236513.
Comment 8 Boris Bokowski CLA 2008-08-28 15:04:20 EDT

*** This bug has been marked as a duplicate of bug 236513 ***
Comment 9 Guo Yun CLA 2010-02-03 04:59:48 EST
I saw the bug 236513 is fixed in 3.5M4. But I still can reproduce this problem in 3.5.1. So I reopen this bug.
Comment 10 Raji Akella CLA 2010-04-19 12:56:02 EDT
Requesting feedback from Felipe as our Lotus XPD browser team is continuing to see this problem.
Comment 11 Felipe Heidrich CLA 2010-04-20 09:49:11 EDT
(In reply to comment #10)
> Requesting feedback from Felipe as our Lotus XPD browser team is continuing to
> see this problem.

The problem was not fixed for the Text control, see comment 47 in Bug 236513
https://bugs.eclipse.org/bugs/show_bug.cgi?id=236513#c47
Comment 12 Eclipse Webmaster CLA 2019-09-06 15:29:55 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.