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
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
Reported in Fyne discord.
Calling entry.SetPlaceHolder in the OnChanged callback when it's invoked from a select-all + backspace change (ie deleting all text) causes the app to freeze. It reportedly works in Fyne 2.3.5
How to reproduce
Run the example code. Type into the entry. Then Select all (Ctrl+A) and delete.
I think this should be a quite simple fix. We just have to look at all the places we are calling OnChanged and make sure we aren't holding any locks when doing so. A quick glance shows this:
Checklist
Describe the bug
Reported in Fyne discord.
Calling entry.SetPlaceHolder in the OnChanged callback when it's invoked from a select-all + backspace change (ie deleting all text) causes the app to freeze. It reportedly works in Fyne 2.3.5
How to reproduce
Run the example code. Type into the entry. Then Select all (Ctrl+A) and delete.
Screenshots
No response
Example code
Fyne version
2.4.3
Go compiler version
1.21.4
Operating system and version
Windows
Additional Information
No response
The text was updated successfully, but these errors were encountered: