-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FyneApp.toml causes BadLength error #5272
Comments
Please share the FyneApp.toml that is causing issues on your machine for clarity. Most apps include this file and we have never seen the issue reported, so perhaps there is something strange in the file encoding? |
FyneApp.txt |
Oh wow I see. |
I've tried this both on KDE Plasma 6, as well as Hyprland with the same error on both. Curiously, I'm able to build for Windows with |
For further review, the repo in question is public, just don't judge my poor code, it was thrown together and I'm new to Go 😅 |
So I was curious and I tried to build and run this in a fresh install of Ubuntu in a VM and had the same error -- it's entirely possible it's just my code. |
Your window is asking for a width of 720, is it possible that your screen doesn't have space? That could cause x11 failures I guess. Maybe try removing all the "Resize" calls to eliminate possibilities? |
Checklist
Describe the bug
Current go app runs without a FyneApp.toml; upon inserting one (even copying the example in the Docs) causes the following error at runtime:
Removing the toml results in a successful build and run.
How to reproduce
go build
,fyne build
, orgo run main.go
and run executableScreenshots
No response
Example code
Fyne version
2.5.2
Go compiler version
1.23.2
Operating system and version
Arch Linux
Additional Information
This only appears to be an issue with the example code provided; simple "Hello, world" programs work (as well as the fyne demo app).
The text was updated successfully, but these errors were encountered: