Skip to content

Pressing Enter to confirm Japanese IME conversion simultaneously submits the "Create Branch" form #272407

@mentuyu0001

Description

@mentuyu0001

Type: Bug

Bug Version: 1.105.1
Working Version (after downgrade): 1.104.3 (Universal)
OS: macOS

Steps to Reproduce:

  1. Run VSCode with all extensions disabled (Code > Command Palette... > Developer: Reload With Extensions Disabled).
  2. Set the macOS input method to the default "Japanese - Romaji" IME (日本語 - ローマ字入力).
  3. Open a project with a Git repository.
  4. Try to create a new branch (e.g., click the current branch name in the status bar, then select "Create new branch...").
  5. An input box appears at the top to name the new branch.
  6. Type any Japanese text using Romaji (e.g., type "test" which becomes "てすと"). The text is underlined, waiting for conversion confirmation.
  7. Press the Enter key one time to confirm the conversion (to finalize "てすと").

Expected Behavior:
The Enter key should only confirm the IME conversion. The text "てすと" should become finalized in the input box, and the input box should remain active, waiting for the user to press Enter again to submit.

Actual Behavior:
In version 1.105.1, pressing Enter to confirm the IME conversion also acts as the final "Submit" key. The form is submitted instantly, and the branch is created prematurely while the user is still in the middle of typing the name.

Additional Info:
This issue was confirmed to happen with all extensions disabled.
This is a regression, as the issue does not occur in version 1.104.3 (Universal).

VS Code version: Code 1.104.3 (Universal) (385651c, 2025-10-02T12:30:51.747Z)
OS version: Darwin arm64 24.5.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 2400)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.24GB free)
Process Argv --crash-reporter-id cb953bee-f1ac-40ec-892e-7d55f5ebbb1c --crash-reporter-id cb953bee-f1ac-40ec-892e-7d55f5ebbb1c
Screen Reader no
VM 0%
Extensions (12)
Extension Author (truncated) Version
githistory don 0.6.20
code-runner for 0.12.2
remotehub Git 0.64.0
vscode-language-pack-ja MS- 1.105.2025101509
debugpy ms- 2025.14.1
python ms- 2025.16.0
vscode-pylance ms- 2025.8.3
vscode-python-envs ms- 1.10.0
azure-repos ms- 0.40.0
cpptools ms- 1.28.3
remote-explorer ms- 0.5.0
remote-repositories ms- 0.42.0
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31351930
testaa123:31335226
63221493:31336333
gendocstringf:31405073
gaj49834:31404438
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
treatment_gpt5applypatchexclusively:31398171
3efgi100_wstrepl:31403338
23633792:31402812
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
applesignin:31399435
dcggh915:31402680
6j29d282:31402215

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions