kovidgoyal / kitty

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

MacOS Big Sur terminal not working when moving to secondary screen #6275

Closed NeuroWinter closed 1 year ago

NeuroWinter commented 1 year ago

Describe the bug I am able to use Kitty when it is just on my laptop screen, however when I move the terminal to one of my other monitors, the window does not update with any key presses. But when I move it back to my laptop screen I can see the keyboard inputs.

To Reproduce Steps to reproduce the behavior:

  1. Open Kitty.
  2. Make sure Kitty is on the laptop screen.
  3. Move the Kitty window to a 2nd monitor.
  4. Enter some text with the Kitty window selected.
  5. See that no input is displayed.
  6. Move Kitty Window back to the laptop screen.
  7. See that the input is in the window.

Environment details

kitty 0.28.1 (07bcc5ba61) created by Kovid Goyal
Darwin alex.manson.Onit 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
ProductName:    macOS ProductVersion:   11.6 BuildVersion:  20G165
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/alex.manson/.config/kitty/kitty.conf

Config options different from defaults:
cursor_text_color          None
editor                     nvim
enabled_layouts            ['grid']
font_family                Hack
font_size                  14.0
single_window_margin_width FloatEdges(left=-10000.0, top=-10000.0, right=-10000.0, bottom=-10000.0)
tab_bar_style              powerline
window_border_width        (1.0, 'pt')
window_padding_width       FloatEdges(left=2.0, top=2.0, right=2.0, bottom=2.0)
Colors:
    active_border_color        #f8f8f2   
    active_tab_background      #f8f8f2   
    active_tab_foreground      #282a36   
    background                 #282a36   
    color0                     #21222c   
    color1                     #ff5555   
    color10                    #69ff94   
    color11                    #ffffa5   
    color12                    #d6acff   
    color13                    #ff92df   
    color14                    #a4ffff   
    color2                     #50fa7b   
    color3                     #f1fa8c   
    color4                     #bd93f9   
    color5                     #ff79c6   
    color6                     #8be9fd   
    color7                     #f8f8f2   
    color8                     #6272a4   
    color9                     #ff6e6e   
    cursor                     #f8f8f2   
    foreground                 #f8f8f2   
    inactive_border_color      #6272a4   
    inactive_tab_background    #6272a4   
    inactive_tab_foreground    #282a36   
    mark1_background           #ff5555   
    mark1_foreground           #282a36   
    selection_background       #44475a   
    selection_foreground       #ffffff   
    url_color                  #8be9fd   

Important environment variables seen by the kitty process:
    PATH                                /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
    LANG                                en_NZ.UTF-8
    SHELL                               /bin/zsh
    USER                                alex.manson

Additional context Same thing happens with --config NONE I am using a Targus dock for my screens, this has only started to happen recently.

kovidgoyal commented 1 year ago

dup of #5104

NeuroWinter commented 1 year ago

You are right this is a dupe of this same error when using --debug-rendering too, lets hope Apple patches soon!