Page MenuHomePhabricator

VisualEditor: a line started with Japanese input disappear when I switch to and start non-Japanese (latin) input
Closed, ResolvedPublic1 Estimated Story Points

Description

Environment:
Ubuntu 14.04.1 LTS
IBus 1.5.5
mozc 1.13.1651.102-2

Test sequence:
0. Open a blank page with VisualEditor.

  1. Switch to Japanese input.
  2. Enter "nihongo".
  3. Convert it (usually by pushing down the space key). You'll see it converted "日本語" here.
  4. Disable Japanese input.
  5. Enter "a". You'll see here "日本語" removed and only "a" remaining.

Version: unspecified
Severity: critical
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=72619

Details

Reference
bz72508

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:49 AM
bzimport set Reference to bz72508.

Above was tested browsers below:
Mozilla Firefox 33.0
Chromium Version 37.0.2062.120 Ubuntu 14.04 (281580) (64-bit)

I first experienced the same bug around 2014-10-24.
Environment:Windows 7 PC (Firefox 33.0.1, Chrome 38.0.2125.104 m, IE 11.0.13)

Test sequence 1:
0 - 5. All the same as Yusuke Matsubara's.
(note: you cant move the cursor with right or left key on "日本語")

Test sequence 2:
0 - 4. same as Yusuke Matsubara's.

  1. Push "Enter key" to make a br there. You'll see here "日本語" vanished and nothing remaining.

(It drove me panicky at first: I couldnt even copy the Japanese text there to salvage. )

Test sequence 3:
0. Open a blank page with VisualEditor.
1-1. Enter "1" (or any alphabet, any number or any sign like "@", "#", "*", "^", ...).
1-2. Switch to Japanese input.

  1. Enter "nihongo" after "1".
  2. Convert it (usually by pushing down the space key). You'll see it converted "日本語" - you'll see here "1 日本語"
  3. Disable Japanese input.
  4. Enter "a". You'll see here "1 日本語 a" remaining.

Changed to critical as it involves loss of data, and affects significantly many (effectively all trials of editing in Japanese).

Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.

Unsure of what changed, but I'm not experiencing this problem now on MediaWiki.org anymore.

Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 9 2015, 10:55 PM

@Jdforrester-WMF: do you have any idea which change fixed it? We'd want to link it here, if possible.

Anyway, I think it's safe to close this task as resolved already.

Jdforrester-WMF claimed this task.

As far as I can tell, this issue and other Japanese text entry issues are all now fixed. Sorry it took so long to confirm!

@Jdforrester-WMF: do you have any idea which change fixed it? We'd want to link it here, if possible.

Anyway, I think it's safe to close this task as resolved already.

Sadly we've done dozens of changes to the typing support system in the past few years to fix this issue and ones like it, and we only added systematic tests for Japanese typing support this week, which helped us confirm that it was working as expected.