gen2brain / iup-go

Cross-platform UI library with native controls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PostMessage example sometimes shows too small window size

mappu opened this issue · comments

Hi! This is a super interesting project. Thank you for pushing the boundaries of what is possible in GUI for Go.

I tried today to build the PostMessage example linked in the readme from master (a3b3bba).

Often it works fine, but sometimes, it only looks like this:

image

Sometimes the 'Random XKCD' button will appear briefly before this too.

It happened on Linux with -tags gtk2, -tags gl, and with no -tags flag. At first i thought it was only affecting one backend, but actually it seems to happen randomly with multiple backends.

Is this all you are seeing, i.e. there is no window with buttons at all? Are you using Wayland? Are there any errors, like the image not being decoded etc.?