Bug 119685 - TVT3.1.x:TCT232: Reading order problems due to neutral characters in menu items
Summary: TVT3.1.x:TCT232: Reading order problems due to neutral characters in menu items
Status: RESOLVED DUPLICATE of bug 119927
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Cam-Thu Le CLA
QA Contact:
URL: 232
Whiteboard:
Keywords:
: 119706 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-07 12:30 EST by CDE Administration CLA
Modified: 2006-08-10 10:20 EDT (History)
5 users (show)

See Also:


Attachments
English_menu_items_RTL.jpg (34.29 KB, image/jpeg)
2005-12-07 12:31 EST, CDE Administration CLA
no flags Details
menu_items_shortcut_neutrals.jpg (56.56 KB, image/jpeg)
2005-12-07 12:31 EST, CDE Administration CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description CDE Administration CLA 2005-12-07 12:30:36 EST
1) Shortcut key sequences with neutral characters displayed incorrectly (Sev 2)

Because the menus are RTL, shortcut keys with a progression of neutral characters are displayed with the wrong reading order.

See example in attached screen shot, -+Alt shows instead of Alt+-.

This can be fixed by adding LRM markers to the end of the shortcut key string, but I couldn't find this string in the files.

See menu_items_shortcut_neutrals.jpg

2) Untranslated menu items containing neutral characters displayed incorrectly (Sev 3).
Similar problem -  items with neutral such as parentheses are not displayed correctly because menus are RTL.

Again, this can be fixed by adding LRM markers to the end of the English menu entry.

See example in English_menu_items_RTL.jpg. Because of the reading order problem, I can only guess this
should be "Plugin Dependencies (GEF Example)". I couldn't find this string in any of the files either.
Comment 1 CDE Administration CLA 2005-12-07 12:31:25 EST
Created attachment 31317 [details]
English_menu_items_RTL.jpg
Comment 2 CDE Administration CLA 2005-12-07 12:31:35 EST
Created attachment 31318 [details]
menu_items_shortcut_neutrals.jpg
Comment 3 CDE Administration CLA 2005-12-07 12:31:53 EST
<cde:tctdetail>
Testcase: General (Bidi)
Project: WSW3A
Component: Platform
Priority: 2
Subject: Reading order problems due to neutral characters in menu items
Article ID: 232
Originator: gpelleg@il.ibm.com
</cde:tctdetail>
Comment 4 Karice McIntyre CLA 2005-12-07 13:23:39 EST
About the second issue, when English strings that have parentheses render in rtl oriented Eclipse:  I have seen other examples in the UI where English strings with parentheses do not display properly in English when using RTL orientation, but once translated they display correctly.  

Will using LRM markers in the string display it correctly on all platforms?  
Comment 5 CDE Administration CLA 2005-12-07 13:45:18 EST
Opening separate TCT for item#2 in this report. Please refer only to item #1, Shortcut key sequences with neutral characters displayed incorrectly, under this TCT.
Comment 6 Kit Lo CLA 2005-12-07 14:05:52 EST
Second problem is now tracked under https://bugs.eclipse.org/bugs/show_bug.cgi?id=119706
Comment 7 Karice McIntyre CLA 2005-12-08 13:26:35 EST
*** Bug 119927 has been marked as a duplicate of this bug. ***
Comment 8 Karice McIntyre CLA 2006-01-03 16:10:38 EST
Cam and Kit,
Since the LRM marker is  required only for 2 specific languages, we should only change the Hebrew and Arabic translated properties files to properly display neutral characters using LRM markers.  It's been my experience that the parentheses display properly when the text on the left and right side of it is all Hebrew or all Arabic.  It is when the text is mixed or all English that the problem occurs.  In the case the text is all English, the text should be translated.  Here is an example of how to use the LRM marker to accomplish this.  Say you have text:

English (with parentheses) 

When running in a BiDi locale it shows as: 

(English (with parentheses 

To get it to display correctly, add one LRM marker after the closing parenthesis: 

English (with parentheses)\u200e 
Comment 9 Karice McIntyre CLA 2006-01-03 17:16:25 EST
*** Bug 119706 has been marked as a duplicate of this bug. ***
Comment 10 Karice McIntyre CLA 2006-08-10 10:20:46 EDT

*** This bug has been marked as a duplicate of 119927 ***