Repository navigation
Description
Environment
Where are you using Unsloth?
- Unsloth desktop application
- Unsloth web UI (
unsloth studio) - Unsloth CLI
- Python package or notebook
- Colab or Kaggle
Operating system and version:
macOS 27.0.1
GPU model(s) and accelerator backend:
Not specified. The affected operation is editing a chat title in the UI.
Versions:
- Unsloth:
v0.1.902-beta - Package:
2026.9.14 - llama.cpp:
b11160-mix-a6922cc - Browser: Brave
v1.96.60 - Japanese IME: macOS built-in Japanese IME
What happened?
Steps to reproduce:
- Open Unsloth Studio in Brave.
- Open the menu for an existing chat in the sidebar and select Rename.
- Enter a new title using the macOS built-in Japanese IME.
- While converting the Japanese text, press Enter to confirm the conversion.
This reproduces every time in the environment above.
Expected behavior:
Enter used to confirm an IME conversion should only confirm the conversion. The rename dialog should remain open so the user can continue editing the title.
Saving the title should require a separate Enter press outside IME composition or clicking the save button.
Actual behavior:
Pressing Enter to confirm the Japanese conversion also saves the chat title and closes the rename dialog.
This prematurely ends title editing, making it difficult to enter a title that requires multiple conversions.
Model and operation involved:
Operation: renaming an existing chat from the sidebar.
No inference or training is involved in the reproduction steps.
Diagnostics and logs
Desktop application
Not applicable; this issue was reproduced in the web UI.
Unsloth web UI
No logs or browser Console output are attached at this time.
Model-specific logs, if applicable
Not applicable to the reproduction steps.
Python package or notebook, if applicable
Not applicable.
Additional context
Related PR: #7246
“Studio: guard project chat rename against IME composition keys”
PR #7246 addresses the same class of problem: Enter or Escape used during IME composition should not commit or cancel a chat rename. It was merged on July 23, 2026.
However, that PR modified the project chat rename input in:
studio/frontend/src/features/chat/chat-page.tsx
The rename dialog opened from the sidebar uses a separate input in:
studio/frontend/src/components/app-sidebar.tsx
During source inspection on October 2, 2026, the sidebar rename input on main handled Enter as follows:
onKeyDown={(event) => {
if (event.key === "Enter") {
event.preventDefault();
void commitRename();
}
}}This handler does not check whether the key event belongs to an IME composition.
The observed behavior may therefore be a regression or indicate incomplete coverage of the fix in #7246 across the different chat rename flows.
Activity