Closed Bug 1508302 Opened 7 years ago Closed 7 years ago

key down event isn't fired during IME composition on Wayland

Categories

(Core :: Widget: Gtk, enhancement)

Unspecified
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- fixed

People

(Reporter: m_kato, Assigned: masayuki)

Details

(Keywords: inputmethod)

Attachments

(2 files)

Since gtk_im_multicontext_get_context_id returns wayland, we don't recognize what IME on GTK. log is coming.
Attached file IME log
Sounds like that Wayland should fix it. On the other hand, we should refer XMODIFIERS when it returns "wayland"? https://searchfox.org/mozilla-central/rev/b03a62c3c82316e733a3b09622c1cb7e59f64cc3/widget/gtk/IMContextWrapper.cpp#430

On Wayland, gtk_im_multicontext_get_context_id() returns
"wayland". However, we need to know actual IM which works
behind Wayland. Fortunately, XMODIFIERS env includes IME
name like "xim" case. Therefore, we can refer it instead.

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/781fba7bac68 Make IMContextWrapper::GetIMEName() refer XMODIFIERS env when gtk_im_multicontext_get_context_id() returns "wayland" r=m_kato
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Assignee: nobody → masayuki
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: