Describe the bug
0.24.2 on macOS does not register input source changes, if the change is done through a keyboard shortcut.
I regularly switch between Danish and US keyboard layouts (using a keyboard shortcut), and until 0.24.1 kitty respected that (as does any other program – I have never seen this particular problem before).
Kitty seems to be stuck in the input source that was set, when it was launched – I can change input source using the keyboard shortcut and see that reflected in the menubar, but kitty sticks with what was set as it started. If I switch to a different program, change the input source, and return to kitty, the input source change is respected as expected. Likewise, if I change the input source by clicking on the icon in the menubar (rather than using a shortcut), kitty registers that a change have taken place.
For reference, my keyboard shortcut for input source change is Ctrl-Command Space.
I have another Mac with 0.24.1, and there kitty works as I would expect with regards to input sources. Likewise, I have tested 0.24.2 on a third Mac seeing the same issue.
To Reproduce
Steps to reproduce the behavior:
- Set the input source to something
- Launch kitty 0.24.2
- Change input source using keyboard shortcut from within kitty
- See error
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
kitty 0.24.2 created by Kovid Goyal
Darwin d45020 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64
ProductName: macOS ProductVersion: 12.2 BuildVersion: 21D49
Frozen: True
Paths:
kitty: /Applications/kitty.app/Contents/MacOS/kitty
base dir: /Applications/kitty.app/Contents/Resources/kitty
extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
system shell: /bin/zsh
Loaded config files:
/Users/au15572/.config/kitty/kitty.conf
Config options different from defaults:
bold_font FiraCode Nerd Font Mono Bold
bold_italic_font Menlo Bold Italic
font_family FiraCode Nerd Font Mono Retina
font_size 17.0
initial_window_height (40, 'cells')
initial_window_width (140, 'cells')
italic_font Menlo Italic
Environment variable names seen by the kitty process:
COMMAND_MODE
DISPLAY
HOME
LANG
LOGNAME
PATH
SHELL
SSH_AUTH_SOCK
SSL_CERT_FILE
TMPDIR
USER
XPC_FLAGS
XPC_SERVICE_NAME
__CFBundleIdentifier
__CF_USER_TEXT_ENCODING
Additional context
The issue persists with kitty --config NONE
Describe the bug
0.24.2 on macOS does not register input source changes, if the change is done through a keyboard shortcut.
I regularly switch between Danish and US keyboard layouts (using a keyboard shortcut), and until 0.24.1 kitty respected that (as does any other program – I have never seen this particular problem before).
Kitty seems to be stuck in the input source that was set, when it was launched – I can change input source using the keyboard shortcut and see that reflected in the menubar, but kitty sticks with what was set as it started. If I switch to a different program, change the input source, and return to kitty, the input source change is respected as expected. Likewise, if I change the input source by clicking on the icon in the menubar (rather than using a shortcut), kitty registers that a change have taken place.
For reference, my keyboard shortcut for input source change is Ctrl-Command Space.
I have another Mac with 0.24.1, and there kitty works as I would expect with regards to input sources. Likewise, I have tested 0.24.2 on a third Mac seeing the same issue.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
Additional context
The issue persists with
kitty --config NONE