hotfix: application settings not persisting on restart#62
Conversation
|
Hi, Can you add more information about the OS where you found this problem? As per Fyne documentation, It is possible that latest version of Baš Čelik introduced the bug, or even that bug is introduced in the Fyne. I will check this weekend, I am currently away from home. |
FyneApp.toml was missing from the packaged releases, preventing Fyne from reading the app ID at runtime. This caused preferences to not persist across restarts since the app had no stable identifier. Now FyneApp.toml is included in /usr/bin/ so Fyne can find it when the app is launched from the installed location.
d15d97a to
042fb0a
Compare
|
Hi, Thanks for the tip, I undid the initial commit in this PR and replaced it with a better solution. |
|
Problem was that application for fedora and debian packaging was compiled without the fyne tool. I now fixed that. Thank you for reporting this. |
The GUI used app.New() so Fyne had no stable application ID for storing preferences.
Preferences are scoped by app ID, so without a fixed ID saved settings were not applied after restart.
The fix was tested locally