Skip to content

Shortcuts Fail After Switching Keyboard Layouts with Non-Latin Keymap #791

@BurAndBY

Description

@BurAndBY

When using a keyboard layout that includes non-Latin characters, the defined shortcuts fail to function properly after switching layouts.

Reproduction Steps:

  1. Utilize the following keymap configuration in your environment:

    keymap = """
    xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete" };
        xkb_compat    { include "complete" };
        xkb_symbols   { include "pc+us+ru:2+inet(evdev)+group(alt_shift_toggle)" };
        xkb_geometry  { include "pc(pc105)" };
    };
    """
  2. Define a shortcut in the configuration:

    [shortcuts]
    mod4-w = { type = "exec", exec = { prog = "firefox" }}
  3. Press Super + W to launch Firefox successfully.

  4. Switch keyboard layouts using Shift + Alt.

  5. Attempt to use the Super + W shortcut again.

Expected Behavior:
The Super + W shortcut should continue to function as expected after the layout switch.

Actual Behavior:
After switching keyboard layouts, the Super + W shortcut no longer works.

Environment Details:

  • EndeavourOS 6.19.6-arch1-1
  • jay-git (commit: 00f68e)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions