Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 419143

Summary: [BiDi] Invalid formating of the Windows file system paths with Hebrew characters by input fields
Product: [Eclipse Project] Platform Reporter: Daniel Rolka <daniel.rolka>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Lina.Kemmel, markus.kell.r, pwebster
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Snapshot with issue
none
Test application demonstrating the issue
none
Picture with bidi paths
none
Issue when app run on Windows7 none

Description Daniel Rolka CLA 2013-10-10 09:37:51 EDT
Created attachment 236330 [details]
Snapshot with issue

The input widgets (Text, Combo) render improperly the Windows file system paths containing the mixture of the Latin and Hebrew characters. See attachment 'Snapshot with issue'
Comment 1 Daniel Rolka CLA 2013-10-10 09:41:30 EDT
Created attachment 236331 [details]
Test application demonstrating the issue
Comment 2 Paul Webster CLA 2013-10-10 10:12:02 EDT
Created attachment 236335 [details]
Picture with bidi paths

If I change the app so that the second field is:
BidiUtils.applyBidiProcessing(
		createText(parent, PATH_WITH_HEBREW_CHARACTERS),
		StructuredTextTypeHandlerFactory.FILE);

Then it looks better.  But ... it doesn't look quite right (at least on linux), it looks different than the first box.

I ran with -dir rtl -bidi on=y;textDir=rtl

The string used in the program is:
private static final String PATH_WITH_HEBREW_CHARACTERS = "C:\\tmp\\4\\רש\\כטװעפ צ׀ױ\\פע  ס";
Comment 3 Daniel Rolka CLA 2013-10-10 10:15:46 EDT
Created attachment 236336 [details]
Issue when app run on Windows7
Comment 4 Paul Webster CLA 2013-10-10 10:17:33 EDT
(In reply to Paul Webster from comment #2)
> The string used in the program is:
> private static final String PATH_WITH_HEBREW_CHARACTERS =
> "C:\\tmp\\4\\רש\\כטװעפ צ׀ױ\\פע  ס";

This string looks good in a comment box and in the Test application, but horrible in my browser (the last segment is supposed to be

רש

PW
Comment 5 Eclipse Genie CLA 2020-08-10 19:13:30 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.