yglukhov / nimx

GUI library
MIT License
1.1k stars 75 forks source link

code sample in readme shows blank window until it's moved to another monitor or resized #331

Closed timotheecour closed 5 years ago

timotheecour commented 6 years ago

when launching app:

image

after moving to another monitor EDIT or resizing

image

this happens everytime i try.

on a single monitor it just gives blank window. EDIT: resizing should problably also fix it

i'm on OSX mojave. Same issue with both normal mode or mojave dark mode.

EDIT

this also happens when creating new windows from an existing window, eg: using the test app in tests/, after clicking on, for eg, table in split view, the window newly created will be all blank image

workaround

resize window (manually)

yglukhov commented 6 years ago

I suppose that's an SDL issue. Which version are you using. Can you try with 2.0.8?

timotheecour commented 6 years ago

I already am using it: /Users/timothee/homebrew/opt/sdl2/bin/sdl2-config --version 2.0.8

Tormund commented 5 years ago

Same issue with 2.0.9.

yglukhov commented 5 years ago

Should be fixed. Please retest with latest nimx and sdl 2.0.10.