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

Sound setting not saved across restarts #1087

Open
fraenki opened this issue Feb 5, 2025 · 2 comments
Open

Sound setting not saved across restarts #1087

fraenki opened this issue Feb 5, 2025 · 2 comments
Labels
1. to develop bug Something isn't working

Comments

@fraenki
Copy link

fraenki commented Feb 5, 2025

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. go to Talk settings -> Sounds
  2. disable "Play sounds when participants join or leave a call"
  3. a message "sounds setting saved" appears
  4. quit Talk Desktop
  5. on next start of Talk Desktop, the setting is enabled again

Expected behaviour

The option "Play sounds when participants join or leave a call" should remain disabled.

Actual behaviour

The option "Play sounds when participants join or leave a call" is enabled after a restart of Talk Desktop.

Diagnosis and logs

none

@fraenki fraenki added 0. Needs triage bug Something isn't working labels Feb 5, 2025
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 💬 Talk team Feb 5, 2025
@ShGKme ShGKme modified the milestones: 🪴 Next Release, v1.1.3-beta Feb 5, 2025
@fraenki
Copy link
Author

fraenki commented Feb 26, 2025

Verified: bug reproducible on release 1.1.5.

@Antreesy
Copy link
Contributor

Antreesy commented Feb 26, 2025

When toggling, setting is updated on API:

https://github.com/nextcloud/spreed/blob/1602b314591e567582485d10d7327652b5016e3f/src/services/settingsService.ts#L71-L80

Desktop client has no access to initial state and always defaults to play them:

play_sounds: true, // Consider playing sound enabled by default on desktop until we have settings

Hotfix would be to update it upstream (to always save it to BrowserStorage as well, and rely on storage value during initialization.
(but then update via web won't change it in client)
Or we provide it via capabilities.spreed.config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop bug Something isn't working
Projects
Status: 🧭 Planning evaluation (don't pick)
Development

No branches or pull requests

3 participants