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

RESOLVED FIXED in Firefox 67

Status

()

enhancement
RESOLVED FIXED
6 months ago
a month ago

People

(Reporter: m_kato, Assigned: masayuki)

Tracking

({inputmethod})

Trunk
mozilla67
Unspecified
Linux
Points:
---

Firefox Tracking Flags

(firefox65 wontfix, firefox66 wontfix, firefox67 fixed)

Details

Attachments

(2 attachments)

Reporter

Description

6 months ago
Since gtk_im_multicontext_get_context_id returns wayland, we don't recognize what IME on GTK.  log is coming.
Reporter

Comment 1

6 months ago
Posted 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.

Comment 4

2 months ago
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

Comment 5

2 months ago
bugherder
Status: NEW → RESOLVED
Last Resolved: 2 months 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.