skyjake / lagrange

A Beautiful Gemini Client
https://gmi.skyjake.fi/lagrange/
BSD 2-Clause "Simplified" License
1.22k stars 65 forks source link

Unable to change some preferences, like theme, after they've been changed once #661

Open dave0003 opened 7 months ago

dave0003 commented 7 months ago

On Debian Bookworm, with both the AppImage and Flatpak, I have this issue.

If I try to change the theme, under Page Style -> Dark theme, I can change it to something else the first time. After that, I'm no longer able to change the setting.

Some of the other settings (but not all) also have issues getting "stuck" (like Appearance -> Accent color).

To fix it, I have to delete the .config file for lagrange and restart it. Then I'm allowed my one change again.

skyjake commented 7 months ago

This vaguely rings a bell, although the issue I'm thinking may have been related to window event handling and not the configuration file.

After that, I'm no longer able to change the setting.

Could you describe in more detail what this means? Does the UI dropdown/buttons not actually work, or does the UI work but the rest of application doesn't notice the change? I take it that restarting the app causes the changed settings to go back to the previous value?

dave0003 commented 7 months ago

After changing the setting the first time, the UI dropdown does drop-down, but clicking on a different highlighted setting doesn't select it. Restarting the app still keeps the setting from the first original change. To get the setting to reset to default, I have to delete the .config file.

lagrange-screenshot-2024-04-15

skyjake commented 7 months ago

If you launch the app with the --prefs-sheet option, does it change the behavior for the better?

dave0003 commented 7 months ago

No, --prefs-sheet doesn't seem to make any difference.