Closed drahoslove closed 6 years ago
That's weird. Can you show some minimal code that reproduces it?
Never mind, I was apparently creating NewWindow with zero width. Feel stupid now. Windows version has no problem with zero sized window.
I still have panic due to a segmentation fault, which is another issue, but maybe you might help me with it here?
Problem found.
tab := ui.NewTab()
tab.Append("tab", nil)
Append nil tab is not possible with gtk. Again windows is more permissive here.
Sorry for the distraction :)
Weird. File the window width > 0 thing as a bug on libui please.
As for appending nil to a tab, see andlabs/libui#328.
Hi, when I run my program which use
ui
, one of two thing happens: either it will cause my whole window manager to freeze until I kill the process from another TTY, or it will panics with following message:Distro is Budgie Ubuntu - kernel
4.13.0-38-generic x86_64 GNU/Linux
libgtk-3-dev
installed, version3.22.25-0ubuntu0.1
go versiongo1.10.1 linux/amd64
Any idea what might be the issue?