Closed Bug 1712269 Opened 3 years ago Closed 3 years ago

[GTK] Make IMContextWrapper not use a set of composition if committed string is inserted without native composition signals

Categories

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

Desktop
Linux
defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: inputmethod, parity-chrome)

Attachments

(1 file)

In GTK widget, we dispatch a set of composition events when IME or something inserts text which is different from typing character or without tying a key. However, this causes non-cancelable beforeinput event and Chromium on Linux does not dispatch keyboard events nor composition events in this case, and the beforeinput event in this case is cancelable.

Therefore, we should take same behavior as on macOS which was implemented by bug 1520983.

In GTK widget, we dispatch a set of composition events when IME or something
inserts text which is different from typing character or without tying a key.
However, this causes non-cancelable beforeinput event and Chromium on Linux
does not dispatch keyboard events nor composition events in this case, and the
beforeinput event in this case is cancelable.

Therefore, we should take same behavior as on macOS which was implemented by
bug 1520983.

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/19d5d6282da1 Make IMContextWrapper not use a set of composition if committed string is inserted without native composition signals r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Regressions: 1742039
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: