Bug 309339 - [Bidi 3.6] :Caret and cursor positions are not in sync in WYSIWYG document
Summary: [Bidi 3.6] :Caret and cursor positions are not in sync in WYSIWYG document
Status: ASSIGNED
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 11:53 EDT by Maha Moustafa CLA
Modified: 2010-04-15 12:22 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maha Moustafa CLA 2010-04-15 11:53:06 EDT
Build Identifier: I20100313-1044

Caret and cursor positions are not in sync in WYSIWYG document therefore the HOME, END ,RIGHT_ARROW and LEFT_ARROW do not work appropriately 

Reproducible: Always

Steps to Reproduce:
1. Launch eclipse with Arabic locale (eclipse.exe - nl ar_EG)

2. Create a file using the WYSIWYG document file wizard.

3. Try inserting mixed Arabic and English text.  

4. Then click on the line or move using up and down keys, try LEFT_ARROW, RIGHT_ARROW, HOME and END, inspect the cursor and caret movement in this editor


Expected Results


1. Keys like LEFT_ARROW, RIGHT_ARROW, HOME and END should work appropriately, 

2. Caret and cursor position should be in sync


Actual Results

1. When we press HOME or END, the cursor doesn’t move to the corresponding position although the caret goes to it.
2. When you click anywhere within a line, and press backspace, the last letters of the line are the ones being deleted, not where the cursor shows
3. Pressing RIGHT_ARROW and LEFT_ARROW keys don’t work properly, also the caret and the cursor are not in sync.

Note : On Windows vista, the caret and the cursor position are not in sync using the LEFT_ARROW and RIGHT_ARROW keys. Although they work fine when using the HOME/END buttons