Open Bug 1233998 Opened 9 years ago Updated 2 years ago

[Cocoa] Some syllables are discared when you type Hangul characters

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

43 Branch
x86_64
macOS
defect

Tracking

()

Tracking Status
firefox53 --- wontfix
firefox109 --- affected

People

(Reporter: blim, Unassigned)

References

Details

(Keywords: inputmethod, Whiteboard: tpi:-)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0 Build ID: 20151216175450 Steps to reproduce: I installed Firefox of the latest version on Mac. When I type in Korean in the Firefox web address window, I see Korean being written improperly. Actual results: Korean vowels and consonants are typed in a strange way. Expected results: Try any other web browsers and see how Korean should be typed in.
Severity: normal → critical
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Summary: Korean Mac → Korean is typed improperly in the latest Firefox on Mac
Component: Untriaged → Internationalization
Product: Firefox → Core
Component: Internationalization → Widget: Cocoa
Keywords: inputmethod
(In reply to blim from comment #0) > User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) > Gecko/20100101 Firefox/43.0 > Build ID: 20151216175450 > > Steps to reproduce: > > I installed Firefox of the latest version on Mac. When I type in Korean in > the Firefox web address window, I see Korean being written improperly. > > > Actual results: > > Korean vowels and consonants are typed in a strange way. > > > Expected results: > > Try any other web browsers and see how Korean should be typed in. Could you provide us exactly reproduce step and screen shot ? I cannot reproduce this on 10.11 with korean input method that installed by OSX.
Flags: needinfo?(blim)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
This issue affects me as well. I could reproduce this on my OS X 10.11 with 2-Set Korean input method and latest Firefox version. One more thing I noticed is that it also affects Thunderbird. User Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0" Build ID: "20160726073904" OSX Version: 10.11.6 Steps to reproduce: 1. First activate "2-Set Korean" input method in OSX. To do this, go to system Keyboard Preferences -> Input Sources -> Add -> Korean -> 2-Set Korean. 2. In the Firefox address bar (or any text box on a website) type some Korean words using "2-Set Korean" input method. For example, "안녕하세요" (on QWERTY keyboard, it's done by typing "dkssudgktpdy"). Actual results: When typing "안녕하세요", the result is "안ㅕ하요". Consonants in the beginning of a syllable are lost. Expected results: In another browser, i.e. chrome, typing "안녕하세요" shows properly. Workaround: If I open About Firefox window, then close it, the bug disappears and I could type 안녕하세요 normally in both Firefox and Thunderbird. Until I reboot the computer then the bug returns.
Do the steps in comment 2 help to reproduce this?
Flags: needinfo?(m_kato)
Humm, I can reproduce this by comment #2, but this is first time only. When moving focus to content, it works well, then this does not occur until rebooting system. So it isn't critical. Also, when occurring this, compositing state isn't drawn well (it is same as Safari. Maybe this is OS or IM's issue).
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(m_kato)
Flags: needinfo?(blim)
Resolution: INCOMPLETE → ---
Root cause may be IME bug. Since IME doesn't send/call setMarkedText, we cannot detect whether current is composing. And we cannot generate composition event when this occurs. So I have to check this on 10.12. Also, as long as I check drawn text on textbox on Safari, composing text isn't drawn correctly on Safari when this occur. So, this will be same even if Safari. (Safari can input text, but composing state isn't drawn correctly) If this is 2nd process that IME uses, IME will send/call setMarkedText, so this doesn't occur. It means that content process can send/post composition event if this occurs on address bar.
Whiteboard: tpi:-
This may still be affecting current versions, it's marked as affecting 53 in the duplicate bug 1300396. Too late for a fix for 53. Looks like this is part of the general backlog.

Moving all open keyboard/IME handling bugs to DOM: UI Events & Focus Handling component.

Component: Widget: Cocoa → DOM: UI Events & Focus Handling

I cannot reproduce this bug even immediately after restarting macOS (I tested with Catalina). How about you, guys?

(In reply to Makoto Kato [:m_kato] from comment #5)

Root cause may be IME bug. Since IME doesn't send/call setMarkedText, we
cannot detect whether current is composing. And we cannot generate
composition event when this occurs. So I have to check this on 10.12.

Also, as long as I check drawn text on textbox on Safari, composing text
isn't drawn correctly on Safari when this occur. So, this will be same even
if Safari. (Safari can input text, but composing state isn't drawn
correctly)

If this is 2nd process that IME uses, IME will send/call setMarkedText, so
this doesn't occur. It means that content process can send/post composition
event if this occurs on address bar.

I think that intentional behavior is typing without composition string because until you use Firefox's content or Blink, you won't see the underline. And this 2 kind of modes cause different behavior for us actually. See bug 1319018. Therefore, I contacted Apple, but they stopped replying me... Currently, I guess that Apple's IMEs check something special property or method of a protocol or an interface.

Priority: -- → P3
Summary: Korean is typed improperly in the latest Firefox on Mac → [Cocoa] Some syllables are discared when you type Hangul characters
Status: REOPENED → NEW

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression

Not a regression of us, but might be Apple's.

Keywords: regression
QA Whiteboard: qa-not-actionable

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: critical → --

It's not clear whether this is still happening, or whether it's an IME bug rather than ours. It would be nice if someone could try to reproduce.

That said, my understanding is that this only shows up under specific unusual circumstances, and quickly goes away. And given that I don't see any recent reports or comments, it doesn't seem critical.

Severity: -- → S3

Unfortunately, this is still reproducible in macOS Ventura. I reported the odd behavior of simple IMEs on macOS to Apple, but they don't reply about it. Therefore, we can do nothing here.

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