Page MenuHomePhabricator

Mac OSX Korean: Implicit completion of CV syllables causes text removal
Open, LowPublic

Description

Steps to reproduce (not consistently reproducable):

  1. Open an empty page in VE standalone on Mac OS X with Korean 'HNC Romaja' IME
  2. Press 'g'. The text will become 'ㄱ' ("g").
  3. Press 'a'. The text will become '가' ("ga").
  4. Press 'n'. The text will become '간' ("gan").
  5. Press 'a'.

Observed behaviour: The text becomes '가' ("ga").

Expected behaviour: The text should become '가나' ("ga-na")

The trigger seems to be certain consonant-vowel (C-V) patterns. According to IME rules, input of type CVC is interpreted as a single syllable at first, but when another V is added the input is reanalysed as CV-CV. (So in the case above, the single syllable "gan" becomes two syllables "ga-na"). It looks like something goes wrong at this point causing the second CV to disappear. We observed this behaviour with 'gana', 'gaga', 'nana', 'dada', 'gada', 'nada' etc.

The erroneous behaviour doesn't occur consistently: sometimes the expected behaviour is observed. At least once we experienced identical erroneous behaviour in the Firefox search bar(!) This doesn't completely prove we're blameless – it could be something weird in the VE-IME interaction is putting the IME into a weird state which is then observed in the search bar – further analysis is needed.

Event Timeline

dchan claimed this task.
dchan raised the priority of this task from to Medium.
dchan updated the task description. (Show Details)

@Jdforrester-WMF initially reported similar behaviour in T120156 , including video F3328523 which shows it happening (prior to a second bug that happens on pressing Enter).

@Jdforrester-WMF too can reproduce this bug without using VE. On Mac OS X with Korean GongjinCheong Romaja , he sees it both in the Firefox search bar and when editing data:text/html,<div contenteditable>xxx . It's also a known (reported) issue here: https://discussions.apple.com/thread/7425553 .

So this is almost certainly a Firefox+Mac OS X issue. In particular, it affects Wikipedia's wikitext editor too, so it shouldn't be a blocker for VE switch-on.

Jdforrester-WMF lowered the priority of this task from Medium to Low.Feb 23 2016, 7:08 PM
Jdforrester-WMF added a project: Upstream.
Jdforrester-WMF set Security to None.
Jdforrester-WMF added a subscriber: dchan.

Context: This appears to be a bug in Firefox (or in Mac OS X's IME); it occurs in the wikitext and the visual editor, on third party websites like Google.com, and inside the browser's "native" search box.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)