Page MenuHomePhabricator

VisualEditor: Text duplication when using jquery.IME on existing pages
Closed, ResolvedPublic8 Estimated Story Points

Description

Screenshot showing text duplication

This bug was observed when continuing testing from https://bugzilla.wikimedia.org/show_bug.cgi?id=53706#c3

The entire test procedure is as follows:

System Environment:
Windows7 X64 SP1
Google Chrome 29.0.1547.66 m

Test Url:
https://www.mediawiki.org/wiki/User:Siddhartha_Ghai/sandbox?veaction=edit

Steps:
Enable ULS IME hindi transliteration
Take a 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.)
Input ag
Output will be अग् as expected but with incorrect selection as reported in the comment linked above
Further input a
This causes the text अग to show up at the beginning of the page with the text अग् at the end of the first paragraph remaining as it is.

What should have happened:
The original output अग् should have been changed to अग at the end of the first paragraph.

So effectively the text is duplicated at the beginning of the page. This means that first the caret moves to the beginning of the page, then the text is duplicated.

Note: The text is navigable and removable, so this is different from Bug 53708 and Bug 53711


Version: unspecified
Severity: normal

Attached:

Text_duplication_in_VE_ULS.jpg (250×1 px, 81 KB)

Details

Reference
bz54421

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:07 AM
bzimport set Reference to bz54421.

Automatic Incorrect caret movement has been reported separately as Bug 54424

As of https://gerrit.wikimedia.org/r/#/c/264577/ in UniversalLanguageSelector this should now be resolved and working for all users, and will be part of the wmf.12 release starting tomorrow.