https://bugzilla.wikimedia.org/show_bug.cgi?id=53708

       Web browser: ---
            Bug ID: 53708
           Summary: VisualEditor: Incorrect and irremovable text placement
                    with ULS IME
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Language
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 13223
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=13223&action=edit
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]]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to