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

No key-repeat on long key-press after switching tty #5188

Closed
oddfellow opened this issue Jun 10, 2022 · 1 comment
Closed

No key-repeat on long key-press after switching tty #5188

oddfellow opened this issue Jun 10, 2022 · 1 comment
Labels

Comments

@oddfellow
Copy link

Describe the bug
Since 0.25.2: When switching to another tty and back with CTRL-ALT-Fx, long key presses don't repeat the key anymore. Closing and reopening kitty fixes it.

To Reproduce
Steps to reproduce the behavior:

  1. Launch sway on TTY1
  2. Launch kitty: long keypresses repeat the key
  3. Switch to TTY2 with CTRL-ALT-F2
  4. Switch back with CTRL-ALT-F1
  5. Long keypresses do not repeat the keys

Environment details

kitty 0.25.2 created by Kovid Goyal
Linux hybrix 5.18.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 06 Jun 2022 19:58:58 +0000 x86_64
Arch Linux 5.18.2-arch1-1 (/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/bash
Loaded config files:
  /home/gast/.config/kitty/kitty.conf

Config options different from defaults:
enable_audio_bell     False
open_url_with         ['wl-copy']
strip_trailing_spaces smart
Added shortcuts:
	super++ → change_font_size all +2.0
	super+, → edit_config_file
	super+- → change_font_size all -2.0
	super+0 → change_font_size all 0
	super+1 → first_window
	super+2 → second_window
	super+3 → third_window
	super+4 → fourth_window
	super+5 → fifth_window
	super+6 → sixth_window
	super+7 → seventh_window
	super+8 → eighth_window
	super+9 → ninth_window
	super+= → change_font_size all +2.0
	super+c → copy_to_clipboard
	super+k → clear_terminal to_cursor active
	super+n → new_os_window
	super+r → start_resizing_window
	super+t → new_tab
	super+v → paste_from_clipboard
	super+w → close_tab
	super+enter → new_window
	super+up → scroll_line_up
	super+down → scroll_line_down
	super+page_up → scroll_page_up
	super+page_down → scroll_page_down
	super+home → scroll_home
	super+end → scroll_end
	shift+super+- → change_font_size all -2.0
	shift+super+/ → open_url https://sw.kovidgoyal.net/kitty/
	shift+super+= → change_font_size all +2.0
	shift+super+[ → previous_tab
	shift+super+] → next_tab
	shift+super+d → close_window
	shift+super+i → set_tab_title
	shift+super+w → close_os_window
	alt+super+, → debug_config
	alt+super+r → clear_terminal reset active
	alt+super+s → toggle_macos_secure_keyboard_entry
	alt+super+page_up → scroll_line_up
	alt+super+page_down → scroll_line_down
	ctrl+super+space → kitten unicode_input
	ctrl+super+, → load_config_file
	ctrl+super+f → toggle_fullscreen

Important environment variables seen by the kitty process:
	PATH                                /home/gast/bin:/home/gast/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
	LANG                                de_DE.UTF-8
	EDITOR                              vim
	SHELL                               /bin/bash
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-1
	USER                                gast
	XCURSOR_SIZE                        24
	XDG_SEAT                            seat0
	XDG_SESSION_TYPE                    wayland
	XDG_CURRENT_DESKTOP                 sway
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            2
	XDG_SESSION_ID                      10
	XDG_RUNTIME_DIR                     /run/user/1003

Additional context
It is reproducible with kitty --config NONE.

@chriscroome
Copy link

I also had this issue with Kitty version 0.25.2 and can confirm that I haven't had a problem since instaling the nightly version, thanks @kovidgoyal.

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

2 participants