minecraft-linux / mcpelauncher-manifest

The main repository for the Linux and Mac OS Bedrock edition Minecraft launcher.
https://mcpelauncher.readthedocs.io/en/latest/
GNU General Public License v3.0
877 stars 100 forks source link

Alt-Tab and then going back into the game breaks keyboard controls #1000

Open CyberDie22 opened 1 month ago

CyberDie22 commented 1 month ago

Describe the bug When you alt-tab out of the game it breaks the keyboard controls until you kill the game and restart

To Reproduce Steps to reproduce the behavior:

  1. Launch the game and enter a world or server
  2. Alt tab out of the game
  3. Tab back into the game
  4. Keyboard controls don't work (although mouse does)

Expected behavior Keyboard controls to not break

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): OS: Arch Linux (6.9.1-zen1-2-zen) Version: v0.15.0.795-AppImage-x86_64 Installation Type: AppImage DE: KDE Plasma Wayland (with explicit-sync in AUR) GPU: RTX 4070 (555.42.02)

ChristopherHX commented 1 month ago

You don't want that the menubar gains focus on alt.

BTW You can turn off the menubar before you alt tab a lot, then it doesn't grab the button an d gains focus

Depending how many users want to change the behavior this can be revised at a later point of time

ChristopherHX commented 3 weeks ago

fixed in nightly, using alt for menubar focus has been disabled by default