Skip to content
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

Settings reverted to default when saving settings #862

Closed
Alatarius opened this issue Jun 24, 2023 · 8 comments
Closed

Settings reverted to default when saving settings #862

Alatarius opened this issue Jun 24, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@Alatarius
Copy link

Alatarius commented Jun 24, 2023

*Jerboa Version
0.0.35

Describe the bug
I change settings to my liking then press the save settings button at the bottom, bit the moment I leave the settings page all settings revert to default.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings
  2. Alter settings to you preference
  3. Press save settings button the exit settings
  4. See error

[edited for spelling error]

@Alatarius Alatarius added the bug Something isn't working label Jun 24, 2023
@juliloving
Copy link

Same experience here. I've set mine as "subscribed, topday" and it always reverts back to "local, active"

@beatgammit
Copy link
Contributor

I think this is fixed with this PR: #854. So probably in the next release.

Note, that PR only touches the sort and listing type (buttons at the top of the main view), so if there's anything else, please update this issue with those other settings.

We'll need a better long-term fix because the process we currently use is error-prone, so perhaps we should address it as part of the fix for #840. Essentially, ViewModels should use LiveData so manual updates aren't necessary.

@Alatarius
Copy link
Author

Mine happens with every setting not just sort and listing. Show/hide NSFW, nav bar setting, etc. And I do mean every setting gets reverted to default upon saving and exiting the settings menu. Even avatar gets set to default in saving

@beatgammit
Copy link
Contributor

Try saving, then quitting the app and come back. Does that work? I've seen a few cases where the settings updates just don't get applied. If that doesn't work, then your settings aren't being saved.

@Alatarius
Copy link
Author

That didn't work either. No settings of any kind can be saved. Everything reverts back to default.

@Alfaa123
Copy link

I am also having this problem. Signed in properly to lemmy.world but profile settings do not save. I occasionally get a toast that says something about a connection error.

The "save settings" button greys out and stays grey when I press it only sometimes. Other times it turns grey for a half second and reverts to blue.

@MV-GH
Copy link
Collaborator

MV-GH commented Aug 10, 2023

Can you still reproduce this in the latest version?

@MV-GH
Copy link
Collaborator

MV-GH commented Sep 17, 2023

I am closing this for now.

@MV-GH MV-GH closed this as completed Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants