forked from cline/cline
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.Clear and approved. Available for contributors to pick up.bugSomething isn't workingSomething isn't working
Description
Type
Bug
Problem / Value
After changing the Mode or API from the main interface, opening Settings and clicking Done triggers an “unsaved changes” prompt even though nothing in the Settings dialog was modified. This adds friction and confusion.
Context
- Affects users who switch Mode/API under the input field on the main screen, then open Settings and exit immediately.
- The Settings dialog treats the page as “dirty” despite no edits within the dialog.
- Frequently noticed when using OpenRouter as the API provider.
Reproduction
- Steps:
- Open Roo Code
- Change Mode or API in the main interface (under the input field)
- Open Settings
- Click the Done button
- Expected result: No discard/unsaved prompt because no settings were changed inside the dialog
- Actual result: An “unsaved changes” confirmation appears asking to discard changes
Constraints/Preferences
- Keep the warning when users actually modify settings in the dialog
- Do not mark Settings as dirty due to automatic initial syncs or provider defaults loading on open
Metadata
Metadata
Assignees
Labels
Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.Clear and approved. Available for contributors to pick up.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Issue [Unassigned]