Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IME is not working properly in kitty under linux #4853

Closed
mendaxcat opened this issue Mar 20, 2022 · 6 comments
Closed

IME is not working properly in kitty under linux #4853

mendaxcat opened this issue Mar 20, 2022 · 6 comments
Labels

Comments

@mendaxcat
Copy link

Describe the bug
After commit a987fb8, IME is not working properly in kitty under linux. @page-down

To Reproduce
Steps to reproduce the behavior:

  1. launch kitty and switch to ibus-libpinyin or ibus-rime input method
  2. open a new tab and type
  3. IME does not work and only english letters are entered

Environment details

kitty 0.24.1 (a987fb81a0) created by Kovid Goyal
Linux mendaxca 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64
Debian GNU/Linux 11 mendaxca /dev/tty

Running under:Wayland
Frozen: False
Paths:
  kitty: /tmp/kitty/linux-package/bin/kitty
  base dir: /tmp/kitty/linux-package/lib/kitty
  extensions dir: /tmp/kitty/linux-package/lib/kitty/kitty
  system shell: /bin/bash

Config options different from defaults:
@mendaxcat mendaxcat added the bug label Mar 20, 2022
@page-down
Copy link
Contributor

It works fine under X11.
I tried the previous kitty versions and could not get ibus to work under wayland. (Arch Linux + KDE)

GLFW_IM_MODULE=ibus kitty

Did I miss something?

@kovidgoyal
Copy link
Owner

Wayland has its own text input protocol, via the compositor so
GLFW_IM_MODULE is not needed.

@page-down
Copy link
Contributor

OK, I installed fcitx5 and it works as expected.
No additional configuration is required, it works out of the box.

fcitx5 wayland im frontend -> kwin wayland -> zwp_text_input_v3 -> kitty

@mendaxcat
I don't know how to configure ibus related so I can't help you.

@page-down
Copy link
Contributor

I confirmed that IME works fine with Debian 11 GNOME + Wayland + IBus.

Debian 11.2
IBus 1.5.23
kitty 0.24.4

XDG_SESSION_TYPE=wayland

@mendaxcat
Copy link
Author

Did you follow my steps to reproduce the problem?
The IME does work in kitty, but not after switching tab.
image
kitty under x11 does not have this problem. @page-down

@page-down
Copy link
Contributor

... but not after switching tab ...

I noticed that after switching windows the IME needs to be switched again to work.
I also found a problem with leftover pre-edit text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants