Reported at Gophers Slack:
odd that when I open a window with Ebiten (even the examples) on the linux container of my chromebook, about 80% of the time, it's a minimized thing with only the close button visible on the screen. 20% of the time it's exactly what I expect. I've run full games on it and windows open every time using SDL2 go bindings. Anybody got an idea why this would be?
I investigated the issue. I hope it will help.
If the window is not resizable, only the close button is shown.
If the window is resizable, the window is displayed but is very small (Layout receives 157x16).
If I call SetWindowSize in Layout, it gives the window its correct size.
It looks like the set window size is not working until the window is created.
Most helpful comment
I investigated the issue. I hope it will help.
If the window is not resizable, only the close button is shown.
If the window is resizable, the window is displayed but is very small (Layout receives 157x16).
If I call SetWindowSize in Layout, it gives the window its correct size.
It looks like the set window size is not working until the window is created.