Even if it's a minor bug - it infuriates me every time I encounter it. It breaks my muscle memory for no reason
[Bug]: Selecting text in terminal with LMB should not spawn any menus#16114
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Select any text in the terminal
- Press CTRL+C
Expected behavior
text being copied normally
Actual behavior
on finishing text selection menu appears that actively blocks CTRL+C from copying selected text.
Impact
Minor bug or occasional failure
Version or commit
0.0.46-nightly.20261005.2676
Environment
Windows 11
Logs or stack traces
| 1 |
Screenshots, recordings, or supporting files
2026-10-05-19_15_15-T3_Code_(Nightly)-TDlqR8rkfV.png
Workaround
No response
Note
Grok responding on behalf of Julius.
Triage
Thanks for the report and the screenshot, @vertopolkaLF! I reproduced this on current main. It's the post-selection popup, not the right-click menu.
What I found
- Finishing a left-button selection in the terminal calls
showSelectionActioninapps/web/src/components/ThreadTerminalDrawer.tsx, which opens a context menu at the pointer with Add to chat and Copy (terminalSelectionMenuItems), matching your screenshot. The right-click menu offers the same actions plus Paste. - On desktop that's a native Electron menu (
localApi.contextMenu.show→ElectronMenu.showContextMenu→Menu.popup) with no accelerators. A native menu captures keyboard input until it closes, so Ctrl+C never reaches the terminal. Windows copy is handled byisTerminalCopyShortcutinapps/web/src/terminal/ghostty/surface.ts, which doesn't run while the popup is open.
Workaround for now: click Copy in the popup, or press Escape to dismiss it and then Ctrl+C. Right-click → Copy also works.
Likely fix area
Options include not opening a modal menu on left-button selection (keeping Add to chat / Copy / Paste on right-click), or, if a select-time Add to chat affordance stays, making it non-modal like the chat Cite button so Ctrl+C still goes to the terminal.
A maintainer will decide on the fix direction.
I'm facing the same issue on my Macbook Air M4(macos 27.0.1)
https://github.com/user-attachments/assets/61af7dfc-feea-4539-a068-af462b2a8819 - video. in the first selection I am pressing CTRL+C multiple times
the menu appears right at the end of selection. this exact menu also blocks CTRL+C behaviour
Version: 0.1.2-nightly.20261021.3499 OS: Windows 11 Pro 24H2 26100.8328 Terminal is Powershell i guess
Reproduced the automatic selection menu on current main a50cd989ae in Linux Chromium 154 with the real web dev server and isolated state: printed ISSUE16114_SELECTION_PROBE, then selected it with a left-button double-click. The Add to chat / Copy menu opened after selection. The supplied recording shows the same menu on Windows desktop; Windows native clipboard behavior is not verified here.