Skip to content

OSC 52 does not work as expected in kitty 0.33.0 #7213

@neurocyte

Description

@neurocyte

Describe the bug
kitty does not respond to OSC 52 requests with the contents of the system clipboard.

To Reproduce
Steps to reproduce the behavior:

  1. Copy something to the system keyboard with an OSC 52 message
  2. Request it back again with OSC 52 ?
  3. See unexpected content

Screenshots
This videos shows 0.33.0 compared to the 0.31.0, which works as expected. This is on linux and the editor is Flow Control. The clipboard manager is CopyQ.

2024-03-12_kitty_0.33.0_clipboard.mp4

Environment details

kitty 0.33.0 (04f8cb6d30) created by Kovid Goyal
Linux dent 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64
Arch Linux 6.7.9-arch1-1 (/dev/tty)

DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: X11
Frozen: False
Paths:
  kitty: /home/cjv/pkgs/kitty/kitty/launcher/kitty
  base dir: /home/cjv/pkgs/kitty
  extensions dir: /home/cjv/pkgs/kitty/kitty
  system shell: /usr/bin/fishenv
Loaded config files:
  /home/cjv/.config/kitty/kitty.conf

Config options different from defaults:
active_tab_font_style      (True, False)
allow_remote_control       yes
background_opacity         0.85
bell_on_tab                 
bold_font                  Iosevka
bold_italic_font           Iosevka
clipboard_control          ('write-clipboard', 'write-primary', 'read-clipboard', 'read-primary')
cursor_blink_interval      0.0
dynamic_background_opacity True
enable_audio_bell          False
enabled_layouts            ['fat:bias=70', 'tall:bias=70', 'splits', 'horizontal', 'grid']
focus_follows_mouse        True
font_family                Iosevka
font_size                  16.0
inactive_text_alpha        0.7
italic_font                Iosevka
kitty_mod                  ctrl+alt
placement_strategy         top-left
repaint_delay              4
resize_debounce_time       (0, 0.5)
resize_in_steps            True
scrollback_lines           30000
tab_activity_symbol        ⭮  
tab_bar_align              center
tab_bar_edge               1
tab_bar_style              separator
tab_fade                   (0.2, 0.5, 0.85, 1.0)
tab_powerline_style        round
tab_separator                 ❙   
tab_title_template         {fmt.fg._b72b00}{fmt.bold}{bell_symbol}{activity_symbol}{fmt.nobold}{fmt.fg.tab}{title}
url_style                  1
visual_bell_duration       0.1
wayland_titlebar_color     1
window_border_width        (0, 'pt')
window_resize_step_cells   1
window_resize_step_lines   1

Additional context
Both versions of kitty are using the same config files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions