[BUG] Desktop settings: "Switch models when a message is flagged" appears twice under Claude Code (General and Local sessions)
In Claude Desktop's settings window, Settings → Claude Code shows the row "Switch models when a message is flagged" twice: once in the General group near the top, and again in the Local sessions group further down. The two rows carry the same label and the same first line of description, so they read as the same setting listed twice.
They are not the same setting. They are two different settings that happen to share a label.
What the shipped renderer does
Read from the settings chunk app/resources/ion-dist/assets/v1/c71860c77-D1Dqt2F3.js in Claude Desktop 1.40609.0.0 (Microsoft Store MSIX, Windows 11):
- The General section (
id: "general") renders a toggle bound to the account settingccr_switch_models_on_flag. It reportsclaudeai.desktop.switch_models_on_flag_toggledwithscope: "remote". - The Local sessions section (
id: "local-sessions") renders a toggle bound to the local Claude Code settingswitchModelsOnFlag. It reports the same event withscope: "local". - Both rows render the same label message id, so their titles are identical by construction rather than by coincidence.
- Their descriptions share the same first fragment and differ only in a trailing fragment — the one distinguishing sentence is the last part of the secondary text.
So the settings window offers two independent switches, in two different scopes, under one name, with the scope buried at the end of the description.
Why this is a problem
- The rows are indistinguishable at a glance. The heading of the enclosing group is the only reliable cue, and "General" does not read as "cloud sessions".
- The two can hold different values. A user who turns "the" setting off has a good chance of changing only one scope and believing they changed both.
- Because the label repeats verbatim, the honest first reading is that the settings window has a duplicate row — which is how this was noticed.
Related: neither row is findable in settings search
The settings search index (app/resources/ion-dist/assets/v1/ca25db325-CwyIN-8d.js) registers "Switch models when a message is flagged" only under the Capabilities section. Neither of the two Claude Code rows is indexed, so searching the settings window for that phrase leads to a different page than the one that contains the rows the user is looking at.
Requested
- Give the two rows scope-distinct labels — for example "… for cloud sessions" and "… for sessions on this computer" — or merge them into one row with an explicit scope control.
- Register both Claude Code rows in the settings search index, so searching the phrase reaches the setting the user is actually looking for.
Environment
- Claude Desktop
1.40609.0.0, Microsoft Store MSIX package, Windows 11 - Settings → Claude Code, sections "General" and "Local sessions"
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗