You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Goal is to display this kind of emoji "๐ซ๐โฑ๏ธ๐๐๐๐๐โก๏ธ๐๐จ๐ฎ๐๏ธโ๏ธ๐ฉ๐๏ธ๐๐ง๐โฝ๐๐ฅ๐ ๏ธ๐๐ก๏ธ๐๐ข๐กโ๏ธโ๏ธโ โยฐC|/#_")
I load an embedded file, set as default, and in the main loop, the app freeze.
It works in debug in vscode but not in release
version used:
github.com/AllenDang/cimgui-go v0.0.0-20240611070805-39b5aa2438db
github.com/AllenDang/giu v0.8.1
simple_test.zip
After making this simple test, I saw an old reference to fyne in my project, it was the culprit.
just add widget.BaseWidget from "fyne.io/fyne/v2/widget" and the app freeze.
But only if you load a font.
if you comment loadFonts, the app is not freezing.
if you remove fyne, it works
well, unfortunately I can't say why using fyne along with giu doesn't work.
I suppose this is something related to glfw (both fyne and giu may use it) and I suppose doing it at the same time may not be a good idea.
What happend?
My Goal is to display this kind of emoji "๐ซ๐โฑ๏ธ๐๐๐๐๐โก๏ธ๐๐จ๐ฎ๐๏ธโ๏ธ๐ฉ๐๏ธ๐๐ง๐โฝ๐๐ฅ๐ ๏ธ๐๐ก๏ธ๐๐ข๐กโ๏ธ โ๏ธ โ
โยฐC|/#_")
I load an embedded file, set as default, and in the main loop, the app freeze.
It works in debug in vscode but not in release
version used:
github.com/AllenDang/cimgui-go v0.0.0-20240611070805-39b5aa2438db
github.com/AllenDang/giu v0.8.1
Code example
main.go
To Reproduce
call loadFonts before wnd.Run(loop) (not in debug)
it should freeze
Version
(latest)
OS
windows 10, go version go1.22.0 windows/amd64
The text was updated successfully, but these errors were encountered: