-
-
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
Frequent UI changes inside "tapped" causes crash #99
Comments
Thanks for the report, this has not been caught before. I am downgrading the title slightly as it's not really everything that will cause it to crash (I hope you don't mind). This will take a little investigation - do you have the crash log? that could speed things up. |
I ran on my machine (debian 9, KDE desktop, golang 1.11.4) and it crashed immediately as well:
I've actually been seeing this quite a bit on my machine when buttons are clicked, with what appears to be the same crash in |
Seems to be the same as golang/freetype#65 🤔 |
Using https://github.com/goki/freetype in place of https://github.com/golang/freetype solved the problem for me. Looks like other people have updated forks for freetype as well: https://github.com/aarzilli/freetype https://github.com/tdewolff/freetype Might be worthwhile testing the goki one, as they have their own GUI system it appears and it's working for them. |
The log posted by paulhovey appears identical.
|
Thanks for the details - I have indeed been fighting this bug I just had not seen it come up in this way before. |
Thanks for the details @paulhovey @Kentaa I resolved this by pulling in the GoKi fork. |
Windows 10.0.17763.195 64-bit
Go 1.11.5
fyne 8ace64e
The following programs will crash if the button is clicked too fast. Also crashes with checkbox, and likely other widgets. Looping the code inside the "tapped" function will cause the crash with a single click.
Crashes with a single click:
The text was updated successfully, but these errors were encountered: