You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Chat rename commits unfinished IME text on candidate Enter #3590
P2 · Reproduced locally against 44e0dcf254975286c0e9dea443b5cd1ca6b23347. No production testing.
The inline chat rename field commits and closes when Enter confirms an IME candidate. Japanese, Chinese and other composition input therefore saves unfinished text instead of letting the person complete the name.
Reproduction:
Open a chat row's More actions → Rename.
Begin an IME composition, for example Japanese にほん.
Press Enter to confirm the composition candidate.
Expected: Ignore the composition-confirming Enter. Keep the input open; a subsequent ordinary Enter may save the completed title.
Observed in the actual ThreadRenameInput component: dispatching compositionStart, then keydown {key:'Enter', isComposing:true, keyCode:229} calls rename('fixture', 'にほん') and onDone(). The ordinary Enter control saves exactly once.
The handler checks only event.key; it does not guard event.nativeEvent.isComposing or the composition lifecycle. This is independent of failed-request recovery.
Proof: A fresh jsdom test of the real component fails expect(rename).not.toHaveBeenCalled() with the call above. Only the mutation hook and translation function are stubbed. This is a component-level input-event reproduction, not an OS IME/browser end-to-end claim.
Deduplication: Existing issue titles and all-state GitHub searches for rename/composition found no equivalent report.
Acceptance: Add a composition-event regression and retain ordinary Enter, Escape and blur behavior. Use the existing composition-handling conventions rather than introducing a separate input primitive.
Activity