Skip to content

Ignored some custom XKB keycodes since v0.26.0 #5452

Closed
@lluises

Description

@lluises

Describe the bug
Kitty does no longer accept some custom XKB hexadecimal key codes.
This was working in version 0.25.2
Its not workin in version 0.26.0
Neither is working on latest git code version as of 2022-08-31.

To Reproduce
Steps to reproduce the behavior:

  1. Build the latest kitty
  2. Add this to kitty.conf:
# XF86Copy (0x1008ff57)
map 0x1008ff57 copy_to_clipboard

# XF86Copy (0x1008ff58)
map 0x1008ff58 copy_to_clipboard

# XF86Paste (0x1008ff6dx)
map 0x1008ff6d paste_from_clipboard
  1. Select some text and press the XF86Copy and XF86Paste keys, or simulate them in linux with:
xdotool key XF86Copy
xdotool key XF86Paste

This steps should copy and paste the selected text, but since version 0.26.0 it does not work.

Environment details
When looking at the kitty debug text, in version 0.25.2 (which worked as expected):

Added shortcuts:
        0x01000000 → copy_to_clipboard
        0x01000000 → copy_to_clipboard
        0x01000000 → paste_from_clipboard

However, in version 0.26.0 those lines don't appear, kitty ignores the configured keybindings with such custom hex codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions