Focus not restored to Jetbrains IDE after window is minimized
Affected version
Fedora Workstation 33
Mutter 3.38.3, Wayland
Bug summary
Minimizing a window doesn't restore the focus to a previously focused JetBrains IDE (tested with WebIDE and PhpStorm). Will likely affect other products too (AndroidStudio?).
This results in all keyboard events being ignored even though the window appears to be focused.
The same steps work as expected with 3.38.1 and 3.38.2.
I don't use the minimize feature itself very often, but an extension I use to hide a terminal window results in the same behaviour (actor.meta_window.minimize()
), so this bug can also be triggered via GNOME Shell.
Steps to reproduce
- Open a JetBrains IDE
- Open another window.
- Focus the IDE and start typing.
- Minimize the other window.
- Focus seems to be restored to the IDE window, but keyboard inputs are discarded.
- Alt-tab to the other window and back: Keyboard inputs work again.
Screencast
This was recorded in a new profile without any extensions enabled.