# Broken Alt+Shift keyboard layout switcher interaction with Alt menu key

**URL:** <https://community.getmailspring.com/t/broken-alt-shift-keyboard-layout-switcher-interaction-with-alt-menu-key/3141>\
**Category:** Bug Reports\
**Created:** [October 22, 2021, 3:10pm UTC](https://community.getmailspring.com/t/broken-alt-shift-keyboard-layout-switcher-interaction-with-alt-menu-key/3141 "2021-10-22T15:10:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maia-Everett](https://community.getmailspring.com/user_avatar/community.getmailspring.com/maia-everett/32/2380_2.png) [@Maia-Everett](https://community.getmailspring.com/u/Maia-Everett)\
**Post date:** [October 22, 2021, 3:10pm UTC](https://community.getmailspring.com/t/broken-alt-shift-keyboard-layout-switcher-interaction-with-alt-menu-key/3141/1 "2021-10-22T15:10:17Z")

</div>

## Description

This seems to be a bug with Electron apps in KDE in general. When the menu bar is enabled (either shown or auto-hiding), every time I switch the keyboard layout with Alt+Shift, the menu steals focus from the input control.

## To Reproduce…

Steps to reproduce the behavior:

1. Install KDE.
2. Have at least two keyboard layouts.
3. Set the keyboard layout switch to Alt+Shift.
4. Open Mailspring.
5. Press Alt+Shift to switch keyboard layouts.

## Expected Behavior

The keyboard layout is switched and the menu doesn’t get focus.

## Setup

- OS and Version: Kubuntu 21.10 (KDE)
  - Installation Method: snap

- Mailspring Version: 1.9.2

## Additional Context

I’ve worked around by switching to the hamburger menu, which disables the menu bar entirely.

This bug should be fixed in Electron 13.1.0 and above: [Release electron v13.1.0 · electron/electron · GitHub](https://github.com/electron/electron/releases/tag/v13.1.0)
