Last modified: 2014-02-28 23:46:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53705 - VisualEditor: Content disappears when using jquery.IME
VisualEditor: Content disappears when using jquery.IME
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Language (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks: ve-multi-lingual 53014
  Show dependency treegraph
 
Reported: 2013-09-03 11:56 UTC by Siddhartha Ghai
Modified: 2014-02-28 23:46 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
HTML after input agar[SPACE] (839.61 KB, image/png)
2013-09-18 12:01 UTC, Siddhartha Ghai
Details
HTML after input agar[SPACE][ENTER/RETURN KEY] (23.38 KB, image/png)
2013-09-18 12:06 UTC, Siddhartha Ghai
Details
HTML after input kyaa (23.96 KB, image/png)
2013-09-18 12:11 UTC, Siddhartha Ghai
Details
HTML after input kyaa[SPACE] (19.94 KB, image/png)
2013-09-18 12:13 UTC, Siddhartha Ghai
Details

Description Siddhartha Ghai 2013-09-03 11:56:59 UTC
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 1:
agar[SPACE][ENTER/RETURN KEY]

Input 2:
kyaa[SPACE]

Expected output 1:
अगर[SPACE][NEWLINE]

Expected output 2:
क्या[SPACE]

Actual output 1:
[NEWLINE]

Actual output 2:
[SPACE]

For the first case, when the given characters are typed, everything is fine upto the pressing of the return key, ie agar[SPACE] gives अगर[SPACE] as expected. However, as soon as the return key is pressed the entire text disappears leaving only a newline.

For the second case, everything is fine till [SPACE] is pressed.

If the page is not blank, extreme weirdness occurs, which can only be explained with further bugs (which I'm about to file). In short though, the disappearances persist, along with other buggy effects.

Note: Page used for this test is [[:w:hi:सदस्य:Siddhartha Ghai/sandbox]]
Comment 1 Siddhartha Ghai 2013-09-03 12:59:02 UTC
The further weirdness mentioned above is explained in Bug 53706 and Bug 53708
Comment 2 D Chan 2013-09-11 23:43:29 UTC
There's code to address this bug in the following patch, which is due to go live by mediawiki.org on 13 September 2013:

https://gerrit.wikimedia.org/r/#/c/82858/

Please let us know whether it fixes the bug!
Comment 3 Siddhartha Ghai 2013-09-18 11:29:54 UTC
(In reply to comment #2)
> There's code to address this bug in the following patch, which is due to go
> live by mediawiki.org on 13 September 2013:
> 
> https://gerrit.wikimedia.org/r/#/c/82858/
> 
> Please let us know whether it fixes the bug!

The bug is not fixed. The behaviour for both the spaces specified in Comment 0 is still the same. Tested at https://www.mediawiki.org/wiki/User:Siddhartha_Ghai?veaction=edit

Here's the HTML which is in the result:

HTML for Input 1:

<div class="ve-ce-documentNode ve-ce-branchNode" contenteditable="true" spellcheck="true" lang="en" dir="ltr"><p class="ve-ce-branchNode"><span class="ve-ce-branchNode-slug ve-ce-branchNode-inlineSlug"></span></p><p class="ve-ce-branchNode"><span class="ve-ce-branchNode-slug ve-ce-branchNode-inlineSlug"></span></p></div>

HTML for Input 2:

<div class="ve-ce-documentNode ve-ce-branchNode" contenteditable="true" spellcheck="true" lang="en" dir="ltr"><p class="ve-ce-branchNode">&nbsp;</p></div>
Comment 4 Siddhartha Ghai 2013-09-18 11:50:46 UTC
(In reply to comment #3)
> Here's the HTML which is in the result:

The above HTML is not entirely correct. Copy-pasting messed up the text nodes. I'll be adding screenshots for the html as seen in the chrome console.
Comment 5 Siddhartha Ghai 2013-09-18 12:01:41 UTC
Created attachment 13306 [details]
HTML after input agar[SPACE]
Comment 6 Siddhartha Ghai 2013-09-18 12:06:42 UTC
Created attachment 13307 [details]
HTML after input agar[SPACE][ENTER/RETURN KEY]
Comment 7 Siddhartha Ghai 2013-09-18 12:11:41 UTC
Created attachment 13308 [details]
HTML after input kyaa
Comment 8 Siddhartha Ghai 2013-09-18 12:13:32 UTC
Created attachment 13309 [details]
HTML after input kyaa[SPACE]
Comment 9 Mahitgar 2013-09-22 05:14:46 UTC
Hi,

Besides Marathi and Hindi I tested this bug for more indic languages like Bangla, Ahirani,Konkni, etc.

Even after defficulties I am trying to use VE+ULS combination on Marathi Wikipedia as much as possible to have real time feel and understand the issues better.

For an example on Marathi Wikipedia we do have a page https://mr.wikipedia.org/wiki/वॉर_अँड_पीस . Other than info box it is empty. In Hindi and Marathi Wikipedia we do have large(huge) number of pages which are almost empty.Not able to type first word itself is a major hindrance and challenge before VE+ULS combinations.

So wish and hope bug number 53700 and 53705 remain on priority list 


rgds

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links