claude-code - 💡(How to fix) Fix [BUG] Claude Code (Claude Desktop app): IME composition Enter triggers submission in Plan inline comment and session rename inputs

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

In Claude Code running inside the Claude Desktop app, pressing Enter to confirm an IME (Japanese / CJK) conversion is incorrectly treated as a submit action in the following two input fields:

  1. Plan mode inline comment input — the "Claudeへのコメントを入力..." (Enter a comment for Claude...) field that opens when you drag-select text in the plan body
  2. Session rename input — the inline edit state that opens when you double-click a session name in the left sidebar

The main chat input and the AskUserQuestion "Other" free-text input were fixed in earlier patches. The same composition-aware Enter handling has not been propagated to the two surfaces above.

Root Cause

In Claude Code running inside the Claude Desktop app, pressing Enter to confirm an IME (Japanese / CJK) conversion is incorrectly treated as a submit action in the following two input fields:

  1. Plan mode inline comment input — the "Claudeへのコメントを入力..." (Enter a comment for Claude...) field that opens when you drag-select text in the plan body
  2. Session rename input — the inline edit state that opens when you double-click a session name in the left sidebar

The main chat input and the AskUserQuestion "Other" free-text input were fixed in earlier patches. The same composition-aware Enter handling has not been propagated to the two surfaces above.

Fix Action

Fix / Workaround

The main chat input and the AskUserQuestion "Other" free-text input were fixed in earlier patches. The same composition-aware Enter handling has not been propagated to the two surfaces above.

IssueTarget UIStateDifference from this issue
#8405VS Code extension chat inputclosed (fixed by PR #8480)Different environment (VS Code extension)
#48257VS Code integrated terminal (xterm.js)openDifferent environment (TUI)
#42995claude.ai/code on ChromeopenDifferent environment (Web)
#48209CLI slash-command input (Ghostty)openDifferent environment (CLI)
#36537Plan "Tell Claude what to do instead" input + AskUserQuestion Otherclosed (author self-declared duplicate)Different UI surface (the Revise popup, not the drag-initiated inline comment field). The AskUserQuestion part is verified fixed as of this report.
#30540Same Plan feedback input as aboveclosed, locked (dup of #8405)Same as above — different UI surface
#27764AskUserQuestion "Other"closed (NOT_PLANNED, stale)Verified fixed in practice as of this report
RAW_BUFFERClick to expand / collapse

Summary

In Claude Code running inside the Claude Desktop app, pressing Enter to confirm an IME (Japanese / CJK) conversion is incorrectly treated as a submit action in the following two input fields:

  1. Plan mode inline comment input — the "Claudeへのコメントを入力..." (Enter a comment for Claude...) field that opens when you drag-select text in the plan body
  2. Session rename input — the inline edit state that opens when you double-click a session name in the left sidebar

The main chat input and the AskUserQuestion "Other" free-text input were fixed in earlier patches. The same composition-aware Enter handling has not been propagated to the two surfaces above.

Steps to Reproduce

Case 1: Plan mode inline comment

  1. In Claude Code (Claude Desktop app), enter Plan mode and receive a plan proposal
  2. Drag-select text in the plan body to open the "Claudeへのコメントを入力..." (Enter a comment for Claude...) input field
  3. Switch to a Japanese IME and type e.g. nihongo
  4. Press Enter to confirm the IME conversion to 日本語

Expected: Enter only confirms the IME conversion; the comment stays editable. Actual: Enter immediately submits the comment with partially converted / unintended text.

Case 2: Session rename

  1. In Claude Code (Claude Desktop app), double-click a session name in the left sidebar to enter the rename edit state
  2. Switch to a Japanese IME and type e.g. nihongo
  3. Press Enter to confirm the IME conversion to 日本語

Expected: Enter only confirms the IME conversion; the rename field stays editable. Actual: Enter immediately commits the rename with partially converted / unintended text.

Cross-check with AskUserQuestion

On the same build, AskUserQuestion's "Other" free-text input handles IME composition Enter correctly. The underlying fix exists in the codebase; it just has not been propagated to the Plan inline comment input and the session rename input.

Duplicate check vs. existing issues

The following related issues report the same class of IME Enter problem but target different UI surfaces, so they are not duplicates of this report:

IssueTarget UIStateDifference from this issue
#8405VS Code extension chat inputclosed (fixed by PR #8480)Different environment (VS Code extension)
#48257VS Code integrated terminal (xterm.js)openDifferent environment (TUI)
#42995claude.ai/code on ChromeopenDifferent environment (Web)
#48209CLI slash-command input (Ghostty)openDifferent environment (CLI)
#36537Plan "Tell Claude what to do instead" input + AskUserQuestion Otherclosed (author self-declared duplicate)Different UI surface (the Revise popup, not the drag-initiated inline comment field). The AskUserQuestion part is verified fixed as of this report.
#30540Same Plan feedback input as aboveclosed, locked (dup of #8405)Same as above — different UI surface
#27764AskUserQuestion "Other"closed (NOT_PLANNED, stale)Verified fixed in practice as of this report

There are additional bug reports against the Plan inline comment feature and the session rename feature, but they concern comment delivery and rename persistence — unrelated to IME composition behavior — so they are excluded from this list.

No open issue currently covers the two UI surfaces reported here.

Environment

  • Claude Code in Claude Desktop app, macOS
  • Japanese IME

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code (Claude Desktop app): IME composition Enter triggers submission in Plan inline comment and session rename inputs