-
-
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
sequential writes to preferences does not save to file #2449
Milestone
Comments
andydotxyz
added a commit
to andydotxyz/fyne
that referenced
this issue
Sep 8, 2021
3 tasks
It's fixed, works without the need for adding the delay now. |
andydotxyz
added a commit
that referenced
this issue
Sep 9, 2021
By syncing the File write we can be sure a second write puts the updated file after. Fixes #2449
nullst
added a commit
to nullst/fyne
that referenced
this issue
Sep 16, 2021
andydotxyz
added a commit
that referenced
this issue
Sep 30, 2021
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug:
Setting a string value with the Preferences API more than once in a row causes it to not write the latter ones to the file. unless a gap is introduced.
To Reproduce:
Steps to reproduce the behaviour:
here is a sample program
take this program and run it twice.
you will see that on the second run only
a
is set whileb
is still nothing.now uncomment the line in the middle and run it twice more.
now both
a
andb
are set.Device (please complete the following information):
The text was updated successfully, but these errors were encountered: