Window open cause game to alt-tab

Issue Description: When my Option window is opened with hotkey ALT+O the game alt-tab automatically. It does not happens everytime but it has been reported many times from multiple users.
Steps to reproduce:
ALT+O while in game. Don’t know how to reproduce exactly.

Impact for my app: [low, mid, high, show-stopper]: high

Do you currently have a workaround?


“Options”: {

    "file": "build/Options.html",

    "transparent": true,

    "resizable": true,

    "override_on_update": true,

    "size": {

      "width": 940,

      "height": 600


    "min_size": {

      "width": 940,

      "height": 600


    "max_size": {

      "width": 940,

      "height": 600



Logs attached. Just happend few seconds before exporting the logs (812.9 KB)

@dowmeister if you are in a game and you are launching a non-in-game window (a window that is not defined with in_game_only: true, that is expected. This is the first reason that I can think of.

and that’s the case.
so can’t exist a window without particular configuration can be opened in game and desktop without alt+tabbing?

I mean, it could exist as in my case, but won’t behave correctly?

I’ve fixed with a workaround: defined two different windows calling the same react component, one in game only and one desktop only

but it’s really a workaround.

@dowmeister without having any details about your app, scenario, components architecture, etc. - I can tell you that the right way is to use different windows for desktop and different windows for in-game, and one background controller to “rule them all.”

indeed, it’s what I’ve done and it seems to be working now.

1 Like