crostini: IME switching key for IBus is not working? |
|
Issue descriptionDerived from issue 826614 c22: A user reported that the Linux app can't switch the input method registered within IBus, running under Linux VM -- maybe some combination of keyboard shortcut could drop somewhere? This is tracking for this issue, yet I haven't set up the reproducible environment.
,
Jul 25
Note that as far as I debugged, the application (and ibus) receives key events for alt-space and ctrl-space. So I'm still not sure why ibus fails to respond to them, I guess it somehow fails to recognize the key events correctly, possibly because chromeos might translate them so that ibus can't recognize, or chromeos might miss translating them as ibus expects? I'll check this later.
,
Jul 25
i think we're going to be in a tricky situation ... if CrOS has multiple IMEs registered, and the container has multiple IMEs registered, how do we rotate through them ?
,
Jul 25
#3: I think we do not have to rotate through them, so it's not that tricky. Issue 826614 is to make Linux apps work with ChromeOS IMEs. This means, multiple ChormeOS IMEs will be rotated by the ChromeOS shortcut, ctrl-space. That would be done through environment variables like GTK_IM_MODULE=cros or XMODIFIERS=@im=cros, and no Linux IMEs are involved. However, if the user chooses to use Linux IMEs for Linux apps, that's a completely different setup. Users will configure their environment as GTK_IM_MODULE=ibus or XMODIFIERS=@im=ibus, and then their Linux apps will work with those Linux IMEs. With this configurations, no ChromeOS IMEs are involved, the rotation happens only among the Linux IMEs. It might look a bit tricky if the shortcut for rotating IMEs happens to be same among IBus and ChromeOS, but I believe it's not. ChromeOS should know whether an app is connecting to ChromeOS IMEs or not, so ChromeOS can decide properly whether the IME rotating keyboard shortcut will be consumed by itself or forwarded to the Linux environment. (that isn't done yet, which means the key shortcuts of ChromeOS IMEs rotation isn't working on Linux app at all currently. I'll work on that later)
,
Jul 25
so you don't plan on supporting the CrOS IME in parallel with native Linux IMEs ? that's fine to start with (and perhaps stay there), we just want to document it explicitly so there's no confusion. |
|
►
Sign in to add a comment |
|
Comment 1 by folo...@gmail.com
, Jul 23