https://bugs.kde.org/show_bug.cgi?id=529007

            Bug ID: 529007
           Summary: Shift+special characters (/ ? :) not delivered
                    correctly to TUI apps (Yazi) with kitty keyboard
                    protocol enabled on German layout
    Classification: Applications
           Product: konsole
      Version First 26.08.3
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: keyboard
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Shift+special characters (/ ? :) not delivered correctly to TUI apps (Yazi)
with kitty keyboard protocol enabled on German layout

STEPS TO REPRODUCE
1. Set keyboard layout to German (de), QWERTZ.
2. Open Konsole with a default profile (kitty keyboard protocol enabled).
3. Start Yazi (terminal file manager) and press "/" (Shift+7), "?" (Shift+ß) or
":" (Shift+.).

OBSERVED RESULT
Nothing happens in Yazi. The keys "/", "?" and ":" are not recognized, so the
find prompt and the shell prompt never open. Shift+letter (e.g. "G") works, and
keys that don't need Shift (e.g. "f") work too.

EXPECTED RESULT
"/" opens the find prompt in Yazi, as it does in other terminals.

ADDITIONAL INFORMATION
- Running the same Yazi in xterm (xterm -e yazi): "/" works.
- With "kitty keyboard protocol" disabled in the Konsole profile (Edit Profile
> Advanced), the keys work immediately in Yazi.
- The Yazi default keymap binds find to "/" and "?". Opening the same action
via Yazi's help menu (F1) works, so the Yazi config is not the cause. Tested
with an empty/default Yazi keymap; only a theme.toml existed.
- fish_key_reader (outside Yazi) shows the correct "/" for Shift+7.
- Suspicion: with the protocol active, Konsole sends the base key (7, ß, .)
plus the Shift modifier instead of the resulting character, and Yazi cannot map
this to "/" on a non-US layout. I have not verified this with a raw key dump.

SOFTWARE/OS VERSIONS
Konsole: 26.08.3
Yazi: 26.8.15 (openSUSE package)
Shell: fish
OS: openSUSE Tumbleweed
KDE Plasma session: Wayland
Keyboard layout: German (de), Generic

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to