[BUG] Command palette shows in main window's sidebar instead of current window
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When splitting the chats in windows (dragging them out from the main windows), the command palette in the child windows still shows in the main window (in the sidebar)
<img width="1214" height="1027" alt="Image" src="https://github.com/user-attachments/assets/15094887-bb12-4bc0-95c8-db079b5cae53" />
What Should Happen?
The command palette should show just above the input box like in the main window
<img width="267" height="434" alt="Image" src="https://github.com/user-attachments/assets/1961ead8-968d-4c14-b5ed-b90feb5474e4" />
Error Messages/Logs
n/a
Steps to Reproduce
- start two chats
- drag a chat out of the main window to create a dedicated child window
- try to type a /command in the child window
Claude Model
_No response_
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.185 with desktop 1.17377.1
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Similarly, opening an image from a child window will show the image in the main window. This means all the actions that create an "overlay" create it only in the main window