GNOME Bugzilla – Bug 592517
Cursor position based upon uncontracted text when typing text and contracted braille is enabled
Last modified: 2009-11-09 21:35:31 UTC
Enable contracted braille: orca.settings.enableContractedBraille = True orca.settings.brailleContractionTable = '/usr/share/liblouis/tables/en-us-g2.ctb' Type the following in gedit: what is your You will observe that the braille cursor position appears where it would be if the text were uncontracted.
Created attachment 141351 [details] [review] Patch to resolve the issue The problem was in braille.py:Region:contractLine. If the cursor offset being passed to liblouis is outside the string, liblouis would just send it back. This patch makes sure the cursor ends up in the right spot.
Committed for 2.27.91.