libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.11k stars 1.82k forks source link

When loading game retroarch window closes and loses focus #4721

Open dafzor opened 7 years ago

dafzor commented 7 years ago

Description

When loading game retroarch window will close and lose focus until the game begins running at which point it will regain focus.

Some use cases where it causes problems:

Expected behavior

When loading a game Retroarch will retain it's window and input focus while showinga loading animation/image until the actual game starts running.

Actual behavior

Retroarch window closes when loading a game only reopening when the game finishes loading.

Steps to reproduce the bug

  1. Load a game in a compressed iso

Version/Commit

Environment information

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/42629320-when-loading-game-retroarch-window-closes-and-loses-focus?utm_campaign=plugin&utm_content=tracker%2F296058&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F296058&utm_medium=issues&utm_source=github).
orbea commented 5 years ago

This is a result of switching from the frontend context to the core context, I am not sure anything can be done about this. The focus problems should be handled by the desktop environment / window manager and is not a RetroArch issue.