Skip to content

Settings control + L to clear does not work for restart-required settings #20077

@psinha40898

Description

@psinha40898

What happened?

Set respectGitIgnore to false in settings.json
Open gemini cli
Open /Settings
Go to respectGitIgnore
Press control L
Notice it changes to true
Notice no restart required prompt appear
Exit or dialog or restart app
Open /Settings
Notice it is still false.

What did you expect to happen?

Should reset to default, remove it from settings.json and save that, and ideally show the restart prompt too.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                        │
│ About Gemini CLI                                                                                                                                       │
│                                                                                                                                                        │
│ CLI Version                                          0.30.0-nightly.20260223.c537fd5ae                                                                 │
│ Git Commit                                           c537fd5ae                                                                                         │
│ Model                                                Auto (Gemini 3)                                                                                   │
│ Sandbox                                              no sandbox                                                                                        │
│ OS                                                   linux                                                                                             │
│ Auth Method                                          Logged in with Google (*@gmail.com)                                                   │
│ Tier                                                 Gemini Code Assist for individuals                                                                │

Login information

oauth

Anything else we need to know?

part of the settings dialog having unfortunate react patterns, it makes it hard to define the UX neatly

related to #18963

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triageIssues that need to be triaged by the triage automation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions