Screenshot of incorrect text placement
System environment:
Win 7 X64
Google Chrome 29.0.1547.62 m
Steps to reproduce:
Open a blank page
Edit it in VE
Enable ULS IME hindi transliteration
Input:
[ENTER/RETURN KEY]x2 (two newlines)
agar[SPACE]ma
Expected output:
[NEWLINE]x2 (two newlines)
अगर[SPACE]म
Actual output:
[NEWLINE]x2 (two newlines)
अग[NEWLINE]र[SPACE]म
Once [ENTER/RETURN KEY]x2 followed by agar[SPACE] has been pressed, Bug 53706 shows up. If one continues the input, this bug is what happens. The incorrect placement is accompanied by the following incorrect bahaviours:
The VE toolbar shows no format (while the editing had been begun with paragraph)
Cursor movement is incorrect. When the cursor is at the end, pressing up key takes it to the end of the first line, then pressing the down key takes it in the second line after the [SPACE] and before म It is here that the incorrect behaviour occurs. Pressing either the left or the right arrow keys takes it to the end of the line (ie after म) While this should happen on right arrow key press, the left arrow key press should take the cursor(caret) to before the space.
Also, when at the end of the second line, pressing backspace does nothing. Similarly pressing delete anywhere in the second line does nothing. The second line effectively becomes irremovable, while the first line can be removed.
Note: Page used for this test is [[:w:hi:सदस्य:Siddhartha Ghai/sandbox]]
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53711
Attached: