[PR #2298] [MERGED] Stop Roaming settings #24882

Open
opened 2026-01-31 09:05:54 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2298
Author: @zadjii-msft
Created: 8/6/2019
Status: Merged
Merged: 8/8/2019
Merged by: @zadjii-msft

Base: masterHead: dev/migrie/f/1770-rome-is-a-silly-place


📝 Commits (6)

  • f01b88c Stop Roaming settings
  • aa58f16 Merge branch 'master' into dev/migrie/f/1770-rome-is-a-silly-place
  • d85ed37 * de-dupe these functions
  • d2448ea This should be in the previous commit
  • bd4bd8e use unique_hfile's
  • 0b183d3 Make some of these wil things cleaner

📊 Changes

2 files changed (+71 additions, -17 deletions)

View changed files

📝 src/cascadia/TerminalApp/CascadiaSettings.h (+1 -1)
📝 src/cascadia/TerminalApp/CascadiaSettingsSerialization.cpp (+70 -16)

📄 Description

Summary of the Pull Request

We'll no longer use RoamingState as our app data folder. Instead we'll use the LocalState folder. This will prevent settings from automatically roaming.

We'll also MoveFile existing settings from RoamingState to LocalState, if we find it in RoamingState, but not LocalState.

PR Checklist

Validation Steps Performed

  • No profiles.json -> generates a new one in LocalState
  • Profile in LocalState, not Roaming -> Nothing happens, loads normally.
  • Profile in RoamingState, not Local -> File moves to Local, loads normally.
  • profile in both -> File in Roaming is ignored, only uses Local, loads normally.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/2298 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 8/6/2019 **Status:** ✅ Merged **Merged:** 8/8/2019 **Merged by:** [@zadjii-msft](https://github.com/zadjii-msft) **Base:** `master` ← **Head:** `dev/migrie/f/1770-rome-is-a-silly-place` --- ### 📝 Commits (6) - [`f01b88c`](https://github.com/microsoft/terminal/commit/f01b88ce921c657ba93c2cb2d1df7c2f3f7a8d21) Stop Roaming settings - [`aa58f16`](https://github.com/microsoft/terminal/commit/aa58f16f3d211984df8db2847000d2fd2e8f20dd) Merge branch 'master' into dev/migrie/f/1770-rome-is-a-silly-place - [`d85ed37`](https://github.com/microsoft/terminal/commit/d85ed37df8dbf297254b7b85730d505247dc559f) * de-dupe these functions - [`d2448ea`](https://github.com/microsoft/terminal/commit/d2448eae4d896de92afb3d7f7e58da193005761a) This should be in the previous commit - [`bd4bd8e`](https://github.com/microsoft/terminal/commit/bd4bd8e768adacd8bd9f2d6c6b54ea9f945985b4) use `unique_hfile`'s - [`0b183d3`](https://github.com/microsoft/terminal/commit/0b183d36fb50cb81ee8690823b6ad238c9ac0008) Make some of these wil things cleaner ### 📊 Changes **2 files changed** (+71 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/CascadiaSettings.h` (+1 -1) 📝 `src/cascadia/TerminalApp/CascadiaSettingsSerialization.cpp` (+70 -16) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request We'll no longer use RoamingState as our app data folder. Instead we'll use the LocalState folder. This will prevent settings from automatically roaming. We'll also `MoveFile` existing settings from RoamingState to LocalState, if we find it in RoamingState, but not LocalState. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #1770 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [?] Requires documentation to be updated * [x] I've discussed this with core contributors already. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed * No profiles.json -> generates a new one in LocalState * Profile in LocalState, not Roaming -> Nothing happens, loads normally. * Profile in RoamingState, not Local -> File moves to Local, loads normally. * profile in _both_ -> File in Roaming is ignored, only uses Local, loads normally. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:05:54 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24882