cursor moves wrong over bidi text
Submitted by Felipe Heidrich
Link to original bug (#580766)
Description
Please describe the problem: cursor moves wrong over bidi text including Arabic-Indic numbers happens for all text input widgets in gtk, including gtk apps such as gedit. I believe the bug is in pango_layout_move_cursor_visually
Steps to reproduce:
- Start gedit
- Set keyboard layout to English
- Enter text, for example: ABC
- Set keyboard layout Arabic Digits
- Enter some Arabic letters
- Enter some Arabic-Indic numbers
- Hold arrow left down
Actual results: cursor circles around the Arabic letters
Expected results: cursor to move to line start
Does this happen every time? yes
Other information: