[Libreoffice-bugs] [Bug 108151] System input language is always ignored on Linux

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 8 09:13:54 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=108151

--- Comment #3 from Caolán McNamara <caolanm at redhat.com> ---
On windows we get an explicit WM_INPUTLANGCHANGE message 

https://msdn.microsoft.com/en-us/library/windows/desktop/ms632629%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

which states the language the Input Method is for

Under linux, e.g. for GTK, we use GtkIMContext
https://developer.gnome.org/gtk3/stable/GtkIMContext.html which doesn't
send/provide an equivalent explicit language that the IM is for

Maybe its possible to make an educated guess as to what the language is by
examining the domain or the default_locales field of GtkIMContextInfo
https://developer.gnome.org/gtk3/stable/GtkIMContext.html#GtkIMContextInfo but
on the face of it at least there doesn't seem to be a non-ambiguous way to tell
what language the IM is for under Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170608/e76cdb09/attachment-0001.html>


More information about the Libreoffice-bugs mailing list