Window disappears when switching from fullscreen to windowed mode

Issue #1256 closed
Robert M. created an issue

Ok here's an issue I'm running into every other day, but it's hard to reproduce. What happens is that sometimes when my game switches from fullscreen to windowed mode the LÖVE window disappears from the screen.

The game still is running - I can hear the sounds and see the terminal output and the Icon is still in the Dock - but there's no way to get the window to come back. Alt-Tabbing to the app for example doesn't do anything.

I'm pretty sure that it's not an issue with my code because I'm not doing anything fancy besides

love.window.setFullscreen( not love.window.getFullscreen() )

The problem is that it doesn't happen every time. Maybe out of the 50 times I start my game it happens once.

I'm on mac OS 10.11.6.

Comments (3)

  1. Alex Szpakowski

    I haven't been able to reproduce this in macOS 10.13. Maybe it's an OS bug that has been fixed since 10.11.6?

  2. Robert M. reporter

    It just happened to me on Mac OS 10.12.6.

    The game seems to be still running, but the window is gone: Bildschirmfoto 2017-10-20 um 02.01.19.png

    It happened on the combat screen of my game. If you want to try yourself: New Game -> Next Mission -> Press F

    As I said in the OP it happens every now and then. For example I just tested it about 10 times and it happened twice.

  3. Log in to comment