Skip to content

fix: settings not persisting across devtools loads - #33120

Merged
jkleinsc merged 2 commits into
mainfrom
remove-sync-settings
Mar 9, 2022
Merged

jkleinsc merged 2 commits into
mainfrom
remove-sync-settings

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Closes #33102.
Closes #31864.

In #31317 we adapted to changes in this crbug, which inadvertently caused issues since we don't support synced settings in Electron. Synced settings are settings which persist across Chrome profiles, which is a concept we don't have in Electron. This removes code related to the synced settings, which caused devtools settings not to persist between loads.

Checklist

Release Notes

Notes: Fixed an issue where Chrom DevTools settings didn't persist between loads.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/17-x-y labels Mar 1, 2022
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Mar 1, 2022
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Mar 2, 2022
@codebytere
codebytere requested a review from deepak1556 March 3, 2022 18:36
@codebytere
codebytere force-pushed the remove-sync-settings branch from 54b639a to e243a25 Compare March 3, 2022 18:36
@codebytere
codebytere force-pushed the remove-sync-settings branch from e243a25 to 06bec58 Compare March 7, 2022 17:11
@jkleinsc
jkleinsc merged commit 373a905 into main Mar 9, 2022
@jkleinsc
jkleinsc deleted the remove-sync-settings branch March 9, 2022 01:17
@release-clerk

release-clerk Bot commented Mar 9, 2022

Copy link
Copy Markdown

Release Notes Persisted

Fixed an issue where Chrom DevTools settings didn't persist between loads.

@trop

trop Bot commented Mar 9, 2022

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "17-x-y" cleanly;
you will need to perform this backport manually.

@trop

trop Bot commented Mar 9, 2022

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "18-x-y", please check out #33206

deepak1556 pushed a commit that referenced this pull request Mar 14, 2022
* fix: settings not persisting across devtools loads

* chore: remove redundant RegisterPreference impl
@trop

trop Bot commented Mar 14, 2022

Copy link
Copy Markdown
Contributor

@deepak1556 has manually backported this PR to "17-x-y", please check out #33273

bavulapati pushed a commit to bavulapati/electron that referenced this pull request Apr 29, 2022
* fix: settings not persisting across devtools loads

* chore: remove redundant RegisterPreference impl
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
* fix: settings not persisting across devtools loads

* chore: remove redundant RegisterPreference impl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: DevTools shortcut settings do not persist [Bug]: Dark mode in Devtools is not working on the latest 16.0.0 - 16.0.8 / 17.0.0

3 participants