kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.25k stars 976 forks source link

Ctrl+Shift + other key stops working after first press #7460

Closed AniAggarwal closed 5 months ago

AniAggarwal commented 5 months ago

Describe the bugs No longer able to continuously press the same key combination without taking fingers of all keys. More concretely: Press Ctrl Press Shift Press T -> makes new tab Release T Press T -> types letter t instead of new tab Release T Release Shift Release Ctrl

If I want to make multiple tabs I must press all three and release all three before repeating. This behavior repeatable every time with Ctrl+Shift+T but is inconsistent with other key binds like Ctrl+Shift+]

I have verified my keyboard is not having issues with online keyboard tester + wev.

To Reproduce Steps to reproduce the behavior:

  1. Press + Hold Ctrl + Shift
  2. Press + release T
  3. Press + release T again, new table will not open but t will be typed

Screenshots My relevant portion of kitty conf:

kitty_mod ctrl+shift
map kitty_mod+] next_tab
map kitty_mod+[ previous_tab
map kitty_mod+t new_tab_with_cwd

Environment details

kitty 0.33.1 created by Kovid Goyal
Linux arrakis 6.6.31-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 11:49:30 +0000 x86_64
Arch Linux 6.6.31-1-lts (/dev/tty)

Running under: Wayland
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/zsh
Loaded config files:
  /home/ani/.config/kitty/kitty.conf

Config options different from defaults:
allow_cloning           yes
allow_remote_control    yes
editor                  nvim
enable_audio_bell       False
font_family             Fira Code
font_size               12.0
hide_window_decorations 1
linux_display_server    wayland
listen_on               unix:@mykitty
scrollback_lines        20000
tab_bar_style           powerline
wayland_titlebar_color  673985538
Added shortcuts:
    alt+l →  clear_terminal scroll active
    ctrl+alt+enter →  send_text normal clone-in-kitty\r
    ctrl+enter →  send_text all \x00\r
    ctrl+h →  kitten pass_keys.py left   ctrl+h
    ctrl+j →  kitten pass_keys.py bottom ctrl+j
    ctrl+k →  kitten pass_keys.py top    ctrl+k
    ctrl+l →  kitten pass_keys.py right  ctrl+l
    shift+alt+enter →  new_window
Changed shortcuts:
    kitty_mod+[ →  previous_tab
    kitty_mod+] →  next_tab
    kitty_mod+enter →  launch --cwd=current
    kitty_mod+f →  launch --type=overlay --stdin-source=@screen_scrollback /usr/bin/fzf --no-sort --no-mouse --exact -i
    kitty_mod+t →  new_tab_with_cwd
Colors:
    active_border_color     #8c00ff   
    background              #282c34   
    color0                  #20232a   
    color1                  #e86671   
    color10                 #98c379   
    color11                 #e0af68   
    color12                 #61afef   
    color13                 #c678dd   
    color14                 #56b6c2   
    color15                 #abb2bf   
    color16                 #d19a66   
    color17                 #f65866   
    color2                  #98c379   
    color3                  #e0af68   
    color4                  #61afef   
    color5                  #c678dd   
    color6                  #56b6c2   
    color7                  #798294   
    color8                  #5c6370   
    color9                  #e86671   
    cursor                  #abb2bf   
    foreground              #abb2bf   
    inactive_border_color   #b0b0b0   
    inactive_tab_background #282c34   
    inactive_tab_foreground #5c6370   
    selection_background    #393f4a   
    selection_foreground    #abb2bf   
    url_color               #98c379   

Important environment variables seen by the kitty process:
    PATH                                /home/ani/.opam/4.13.0/bin:/home/ani/micromamba/condabin:/home/ani/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/ani/.spicetify
    LANG                                en_US.UTF-8
    EDITOR                              /usr/bin/nvim
    SHELL                               /bin/zsh
    GLFW_IM_MODULE                      ibus
    DISPLAY                             :0
    WAYLAND_DISPLAY                     wayland-1
    USER                                ani
    XCURSOR_SIZE                        24
    XDG_BACKEND                         wayland
    XDG_SEAT                            seat0
    XDG_SESSION_DESKTOP                 Hyprland
    XDG_SESSION_TYPE                    wayland
    XDG_CURRENT_DESKTOP                 Hyprland
    XDG_SESSION_CLASS                   user
    XDG_VTNR                            1
    XDG_SESSION_ID                      1
    XDG_RUNTIME_DIR                     /run/user/1000

Additional context Still occurs with kitty --config NONE.

Let me know what additional information I can provide. Thanks again for all your work!

kovidgoyal commented 5 months ago

Does not reproduce for me running up to date kitty under wayland. I suggest you update kitty.

AniAggarwal commented 5 months ago

I am able to recreate it on 0.34 as well.

kitty 0.34.1 (7f61f1f9f3) created by Kovid Goyal
Linux arrakis 6.6.31-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 11:49:30 +0000 x86_64
Arch Linux 6.6.31-1-lts (/dev/tty)

Running under: Wayland (Hyprland v0.40.0-113-gf8857e60,) missing: blur
Frozen: True
Paths:
  kitty: /home/ani/Downloads/tmp-kitty/kitty.app/bin/kitty
  base dir: /home/ani/Downloads/tmp-kitty/kitty.app/lib/kitty
  extensions dir: /home/ani/Downloads/tmp-kitty/kitty.app/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config files:
  /home/ani/.config/kitty/kitty.conf

Config options different from defaults:
allow_cloning           yes
allow_remote_control    yes
editor                  nvim
enable_audio_bell       False
font_family             Fira Code
font_size               12.0
hide_window_decorations 1
linux_display_server    wayland
listen_on               unix:@mykitty
scrollback_lines        20000
tab_bar_style           powerline
wayland_titlebar_color  673985538
Added shortcuts:
    alt+l →  clear_terminal scroll active
    ctrl+alt+enter →  send_text normal clone-in-kitty\r
    ctrl+enter →  send_text all \x00\r
    ctrl+h →  kitten pass_keys.py left   ctrl+h
    ctrl+j →  kitten pass_keys.py bottom ctrl+j
    ctrl+k →  kitten pass_keys.py top    ctrl+k
    ctrl+l →  kitten pass_keys.py right  ctrl+l
    shift+alt+enter →  new_window
Changed shortcuts:
    kitty_mod+[ →  previous_tab
    kitty_mod+] →  next_tab
    kitty_mod+enter →  launch --cwd=current
    kitty_mod+f →  launch --type=overlay --stdin-source=@screen_scrollback /usr/bin/fzf --no-sort --no-mouse --exact -i
    kitty_mod+t →  new_tab_with_cwd
Colors:
    active_border_color     #8c00ff   
    background              #282c34   
    color0                  #20232a   
    color1                  #e86671   
    color10                 #98c379   
    color11                 #e0af68   
    color12                 #61afef   
    color13                 #c678dd   
    color14                 #56b6c2   
    color15                 #abb2bf   
    color16                 #d19a66   
    color17                 #f65866   
    color2                  #98c379   
    color3                  #e0af68   
    color4                  #61afef   
    color5                  #c678dd   
    color6                  #56b6c2   
    color7                  #798294   
    color8                  #5c6370   
    color9                  #e86671   
    cursor                  #abb2bf   
    foreground              #abb2bf   
    inactive_border_color   #b0b0b0   
    inactive_tab_background #282c34   
    inactive_tab_foreground #5c6370   
    selection_background    #393f4a   
    selection_foreground    #abb2bf   
    url_color               #98c379   

Important environment variables seen by the kitty process:
    PATH                                /home/ani/Downloads/tmp-kitty/kitty.app/bin:/home/ani/.opam/4.13.0/bin:/home/ani/bin:/home/ani/micromamba/condabin:/home/ani/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/ani/.spicetify:/home/ani/.spicetify
    LANG                                en_US.UTF-8
    EDITOR                              /usr/bin/nvim
    SHELL                               /bin/zsh
    GLFW_IM_MODULE                      ibus
    DISPLAY                             :0
    WAYLAND_DISPLAY                     wayland-1
    USER                                ani
    XCURSOR_SIZE                        24
    XDG_BACKEND                         wayland
    XDG_SEAT                            seat0
    XDG_SESSION_DESKTOP                 Hyprland
    XDG_SESSION_TYPE                    wayland
    XDG_CURRENT_DESKTOP                 Hyprland
    XDG_SESSION_CLASS                   user
    XDG_VTNR                            1
    XDG_SESSION_ID                      1
    XDG_RUNTIME_DIR                     /run/user/1000

On nightly, however, I do NOT seem to have this issue, so it seems to be fixed sometime between them...

kitty 0.34.1 (dbeb31b7ad) created by Kovid Goyal
Linux arrakis 6.6.31-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 11:49:30 +0000 x86_64
Arch Linux 6.6.31-1-lts (/dev/tty)

Running under: Wayland (Hyprland v0.40.0-113-gf8857e60,) missing: blur
OpenGL: '4.6 (Core Profile) Mesa 24.0.7-arch1.3' Detected version: 4.6
Frozen: True
Paths:
  kitty: /home/ani/Downloads/kitty-nightly/kitty.app/bin/kitty
  base dir: /home/ani/Downloads/kitty-nightly/kitty.app/lib/kitty
  extensions dir: /home/ani/Downloads/kitty-nightly/kitty.app/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config files:
  /home/ani/.config/kitty/kitty.conf

Config options different from defaults:
allow_cloning           yes
allow_remote_control    yes
editor                  nvim
enable_audio_bell       False
font_family             Fira Code
font_size               12.0
hide_window_decorations 1
linux_display_server    wayland
listen_on               unix:@mykitty
scrollback_lines        20000
tab_bar_style           powerline
wayland_titlebar_color  673985538
Added shortcuts:
    alt+l →  clear_terminal scroll active
    ctrl+alt+enter →  send_text normal clone-in-kitty\r
    ctrl+enter →  send_text all \x00\r
    ctrl+h →  kitten pass_keys.py left   ctrl+h
    ctrl+j →  kitten pass_keys.py bottom ctrl+j
    ctrl+k →  kitten pass_keys.py top    ctrl+k
    ctrl+l →  kitten pass_keys.py right  ctrl+l
    shift+alt+enter →  new_window
Changed shortcuts:
    kitty_mod+[ →  previous_tab
    kitty_mod+] →  next_tab
    kitty_mod+enter →  launch --cwd=current
    kitty_mod+f →  launch --type=overlay --stdin-source=@screen_scrollback /usr/bin/fzf --no-sort --no-mouse --exact -i
    kitty_mod+t →  new_tab_with_cwd
Colors:
    active_border_color     #8c00ff   
    background              #282c34   
    color0                  #20232a   
    color1                  #e86671   
    color10                 #98c379   
    color11                 #e0af68   
    color12                 #61afef   
    color13                 #c678dd   
    color14                 #56b6c2   
    color15                 #abb2bf   
    color16                 #d19a66   
    color17                 #f65866   
    color2                  #98c379   
    color3                  #e0af68   
    color4                  #61afef   
    color5                  #c678dd   
    color6                  #56b6c2   
    color7                  #798294   
    color8                  #5c6370   
    color9                  #e86671   
    cursor                  #abb2bf   
    foreground              #abb2bf   
    inactive_border_color   #b0b0b0   
    inactive_tab_background #282c34   
    inactive_tab_foreground #5c6370   
    selection_background    #393f4a   
    selection_foreground    #abb2bf   
    url_color               #98c379   

Important environment variables seen by the kitty process:
    PATH                                /home/ani/Downloads/kitty-nightly/kitty.app/bin:/home/ani/.opam/4.13.0/bin:/home/ani/bin:/home/ani/micromamba/condabin:/home/ani/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/home/ani/.spicetify:/home/ani/.spicetify
    LANG                                en_US.UTF-8
    EDITOR                              /usr/bin/nvim
    SHELL                               /bin/zsh
    GLFW_IM_MODULE                      ibus
    DISPLAY                             :0
    WAYLAND_DISPLAY                     wayland-1
    USER                                ani
    XCURSOR_SIZE                        24
    XDG_BACKEND                         wayland
    XDG_SEAT                            seat0
    XDG_SESSION_DESKTOP                 Hyprland
    XDG_SESSION_TYPE                    wayland
    XDG_CURRENT_DESKTOP                 Hyprland
    XDG_SESSION_CLASS                   user
    XDG_VTNR                            1
    XDG_SESSION_ID                      1
    XDG_RUNTIME_DIR                     /run/user/1000
kovidgoyal commented 5 months ago

I tried in hyprpand as well. does not replicate. I suggest setting

wayland_enable_ime no

in your kitty.conf. And you can run with --debug-input to see what input events kitty receives.

AniAggarwal commented 5 months ago

I completely forgot about IME. I do have a Japanese keyboard set up and with wayland_enable_ime yes, it works normally aside from this. Anyways, I don't particularly care for IME input on terminal so that seems to solve the issue when on 0.34. Interesting nightly doesn't have this issue even with ime enabled.

Here's the output from kitty on 0.34 (latest, not-nightly) with --debug-input when pressing Ctrl, Shift, and then t repeatedly, with twayland_emable_ime yes. It seems not to match KeyPress to action after the first two.

[2.549] Press xkb_keycode: 0x1d clean_sym: Control_L composed_sym: Control_L mods: numlock glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[2.549] on_key_input: glfw key: 0xe062 native_code: 0xffe3 action: PRESS mods: ctrl+numlock text: '' state: 0 [2.549] 
text-input: updating cursor position: left=24 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[3.037] Press xkb_keycode: 0x2a clean_sym: Shift_L composed_sym: Shift_L mods: ctrl+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)
[3.037] on_key_input: glfw key: 0xe061 native_code: 0xffe1 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[3.608] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[3.608] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, [3.634] 
text-input: updating IME focus state, focused: 1
[3.635] 
text-input: updating cursor position: left=4 top=1 width=10 height=20
handled as shortcut
[3.728] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[3.728] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[4.038] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[4.038] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 [4.038] 
text-input: updating cursor position: left=24 top=41 width=10 height=20

KeyPress matched action: new_tab_with_cwd, [4.057] 
text-input: updating IME focus state, focused: 1
[4.058] 
text-input: updating cursor position: left=4 top=1 width=10 height=20
[4.058] 
text-input: updating IME focus state, focused: 0
handled as shortcut
[4.064] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[4.064] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[4.064] Release xkb_keycode: 0x2a clean_sym: Shift_L mods: ctrl+shift+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)
[4.064] on_key_input: glfw key: 0xe061 native_code: 0xffe1 action: RELEASE mods: ctrl+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[4.064] Release xkb_keycode: 0x1d clean_sym: Control_L mods: ctrl+shift+numlock glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[4.064] on_key_input: glfw key: 0xe062 native_code: 0xffe3 action: RELEASE mods: shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[4.064] Loading new XKB keymaps
[4.084] Modifier indices alt: 0x3 super: 0x6 hyper: 0xffffffff meta: 0xffffffff numlock: 0x4 shift: 0x0 capslock: 0x1 control: 0x2
[4.164] Release xkb_keycode: 0x14 clean_sym: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[4.464] Press xkb_keycode: 0x14 clean_sym: t composed_sym: t text: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[4.464] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: none text: 't' state: 0 [4.464] 
text-input: updating cursor position: left=24 top=41 width=10 height=20
sent key as text to child: t
[4.578] Release xkb_keycode: 0x14 clean_sym: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[4.578] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: none text: '' state: 0 [4.578] 
text-input: updating cursor position: left=34 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[4.878] Press xkb_keycode: 0x14 clean_sym: t composed_sym: t text: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[4.878] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: none text: 't' state: 0 sent key as text to child: t
[5.002] Release xkb_keycode: 0x14 clean_sym: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[5.002] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: none text: '' state: 0 [5.002] 
text-input: updating cursor position: left=44 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[5.306] Press xkb_keycode: 0x14 clean_sym: t composed_sym: t text: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[5.306] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: none text: 't' state: 0 sent key as text to child: t
[5.443] Release xkb_keycode: 0x14 clean_sym: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[5.443] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: none text: '' state: 0 [5.443] 
text-input: updating cursor position: left=54 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[5.706] Press xkb_keycode: 0x14 clean_sym: t composed_sym: t text: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[5.706] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: none text: 't' state: 0 sent key as text to child: t
[5.825] Release xkb_keycode: 0x14 clean_sym: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[5.825] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: none text: '' state: 0 [5.825] 
text-input: updating cursor position: left=64 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[6.059] Press xkb_keycode: 0x14 clean_sym: t composed_sym: t text: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[6.059] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: none text: 't' state: 0 sent key as text to child: t
[6.173] Release xkb_keycode: 0x14 clean_sym: t mods: none glfw_key: 116 (t) xkb_key: 116 (t)
[6.173] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: none text: '' state: 0 [6.173] 
text-input: updating cursor position: left=74 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[6.262] Release xkb_keycode: 0x1d clean_sym: Control_L mods: none glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[6.285] Release xkb_keycode: 0x2a clean_sym: Shift_L mods: shift+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)

On same version, wayland_enable_ime no, no issues but no Japanese input:

[14.386] Press xkb_keycode: 0x1d clean_sym: Control_L composed_sym: Control_L mods: numlock glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[14.386] on_key_input: glfw key: 0xe062 native_code: 0xffe3 action: PRESS mods: ctrl+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[14.595] Press xkb_keycode: 0x2a clean_sym: Shift_L composed_sym: Shift_L mods: ctrl+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)
[14.595] on_key_input: glfw key: 0xe061 native_code: 0xffe1 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[15.354] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[15.354] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, handled as shortcut
[15.497] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[15.497] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[15.695] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[15.695] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, handled as shortcut
[15.834] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[15.834] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[16.025] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[16.025] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, handled as shortcut
[16.148] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[16.148] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[16.379] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[16.379] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, handled as shortcut
[16.507] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[16.507] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[16.724] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[16.724] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, handled as shortcut
[16.837] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[16.837] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[17.263] Release xkb_keycode: 0x1d clean_sym: Control_L mods: ctrl+shift+numlock glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[17.263] on_key_input: glfw key: 0xe062 native_code: 0xffe3 action: RELEASE mods: shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[17.287] Release xkb_keycode: 0x2a clean_sym: Shift_L mods: shift+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)
[17.287] on_key_input: glfw key: 0xe061 native_code: 0xffe1 action: RELEASE mods: numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event

Output from nightly with wayland_enable_ime yes, where I have no issues and japanese input works on kitty:

[6.556] Press xkb_keycode: 0x1d clean_sym: Control_L composed_sym: Control_L mods: numlock glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[6.556] on_key_input: glfw key: 0xe062 native_code: 0xffe3 action: PRESS mods: ctrl+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[6.793] Press xkb_keycode: 0x2a clean_sym: Shift_L composed_sym: Shift_L mods: ctrl+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)
[6.793] on_key_input: glfw key: 0xe061 native_code: 0xffe1 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[7.439] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.439] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, [7.462] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 1
[7.463] 
text-input: updating cursor position: left=4 top=1 width=10 height=20
[7.470] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 0
handled as shortcut
[7.548] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.548] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[7.599] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.599] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, [7.618] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 1
[7.622] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 0
handled as shortcut
[7.703] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.703] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[7.761] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.761] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, [7.780] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 1
[7.781] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 0
handled as shortcut
[7.856] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.856] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[7.928] Press xkb_keycode: 0x14 clean_sym: t composed_sym: T mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[7.928] on_key_input: glfw key: 0x74 native_code: 0x74 action: PRESS mods: ctrl+shift+numlock text: '' state: 0 
KeyPress matched action: new_tab_with_cwd, [7.947] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 1
[7.948] 
text-input: updating IME focus state, ime_focused: 1 ev->focused: 0
handled as shortcut
[8.018] Release xkb_keycode: 0x14 clean_sym: t mods: ctrl+shift+numlock glfw_key: 116 (t) xkb_key: 116 (t) shifted_key: 84 (T)
[8.018] on_key_input: glfw key: 0x74 native_code: 0x74 action: RELEASE mods: ctrl+shift+numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event
[8.848] Release xkb_keycode: 0x1d clean_sym: Control_L mods: ctrl+shift+numlock glfw_key: 57442 (LEFT_CONTROL) xkb_key: 65507 (Control_L)
[8.848] on_key_input: glfw key: 0xe062 native_code: 0xffe3 action: RELEASE mods: shift+numlock text: '' state: 0 [8.848] 
text-input: updating cursor position: left=24 top=41 width=10 height=20
ignoring as keyboard mode does not support encoding this event
[8.857] Release xkb_keycode: 0x2a clean_sym: Shift_L mods: shift+numlock glfw_key: 57441 (LEFT_SHIFT) xkb_key: 65505 (Shift_L)
[8.857] on_key_input: glfw key: 0xe061 native_code: 0xffe1 action: RELEASE mods: numlock text: '' state: 0 ignoring as keyboard mode does not support encoding this event