Skip to content

Can't write spaces in the branch picker of the Git Panel #52771

@saberoueslati

Description

@saberoueslati

Reproduction steps

1- Start Zed
2- Open Git Switcher, I'm able to write a space in the select branch field with no issues
3- Open Git Panel then Switch Branch button, unable to write a space in the select branch field despite the field serving the exact same purpose as the field in step 2

Video below shows behavior in both fields :

Screencast.from.2026-03-30.23-13-41.webm

Current vs. Expected behavior

Expected Behavior: in the Git Panel, I should be able to write a space in the select branch field.
Current Behavior : unable to write a space in the select branch field despite the field serving the exact same purpose as the field in step 2 of the repro steps.

Same behavior was observed by @OmChillure and @axlpascual in comments of #52696

I will be working on this issue right now

Zed version and system specs

System:
Zed Dev 0.231.0 (debug)
b48dd02

0.231.0+dev.b48dd02d5af5dd6d8424808850e396d45650d270
OS: Ubuntu 24.04.3 LTS
Memory: 32 GiB
Architecture: x86_64

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions