Skip to content

Conversation

@carsteneu
Copy link
Contributor

Fixes #13428

Keyboard layout switching doesn't work when the menu search field is focused. Keybindings like Alt+Shift or Super+Space have no effect because the search entry's key event handler stops event propagation.

The fix has two parts:

  1. For custom keybindings (like switch-input-source), invoke the keybinding callback before stopping event propagation
  2. For modifier-only keys (Alt, Shift, Ctrl, Super), allow the event to propagate so XKB-based layout switching can work

This allows users to switch keyboard layouts while typing in the menu search field.

…t#13428)

Previously, when the menu search entry was focused, keyboard layout
switching via keybindings (e.g., Alt+Shift, Super+Space) would not work.
The key event was stopped but the keybinding callback was never invoked.

This fix:
- Invokes the keybinding callback before stopping event propagation
- Allows modifier-only keys to propagate for XKB-based layout switching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Regression] Keyboard layout switching latency (Alt+Shift) and failure to switch within Mint Menu search

1 participant