This is a separate report for automatic caret movement from one place to another when using VE with ULS.
This problem has been seen with some other bugs, specifically, in the fourth[1], seventh[2] and tenth[3] comments of Bug 53708 and the original report of Bug 54421
I also suspect that the problem in Bug 53701 is a form of this bug only.
However, I am reporting this as a separate bug since I was able to reproduce it independent of these bugs.
System environment:
Win 7 X64 SP1
Google Chrome 29.0.1547.66 m
Test Url:
https://www.mediawiki.org/wiki/User:Siddhartha_Ghai/sandbox?veaction=edit
Steps:
1 Enable ULS IME hindi transliteration
2 Take the caret to the end of the first paragraph using the mouse (i.e click at the end of the first paragraph to take the caret there)
3 Input [RETURN KEY][RETURN KEY]a
Expected output:
[NEWLINE][NEWLINE]अ
Actual Output:
[NEWLINE]अ[NEWLINE]
As long as the return keys have been pressed, everything is fine and the caret is in the second newline. However, as soon as a is pressed, the input is in the first new line and not the second. The caret has hence moved up one line before the input is placed into the output text. The caret does not move back and is after the output अ
This text is selectable, but can't be copy-pasted into an external text editor.
The text is removable, so this is not entirely Bug 53708 . However, pressing a backspace when the caret is after अ removes अ along with the newline that precedes it.
[1]: https://bugzilla.wikimedia.org/show_bug.cgi?id=53708#c4
[2]: https://bugzilla.wikimedia.org/show_bug.cgi?id=53708#c7
[3]: https://bugzilla.wikimedia.org/show_bug.cgi?id=53708#c10
Version: unspecified
Severity: normal