I have configured the following keyboard shortcut:
{
“key”: “ctrl+i”,
“command”: “runCommands”,
“args”: {
“commands”: [
“composer.openChatAsEditor”,
“workbench.action.focusSideBar”,
“composer.focusComposer”,
]
}
}
Additionally, I dragged the Agent window to my second monitor. Previously, in “Editor (Classic)” mode, pressing Ctrl+I would successfully shift the focus to the input field within the Agent window on the second monitor. However, since the “Classic” mode has now been removed—leaving only the standard “Editor” mode—pressing Ctrl+I no longer shifts the focus to the Agent input field on the second monitor.
Steps to Reproduce
Unable to Set Focus
I have configured the following keyboard shortcut:
{
“key”: “ctrl+i”,
“command”: “runCommands”,
“args”: {
“commands”: [
“composer.openChatAsEditor”,
“workbench.action.focusSideBar”,
“composer.focusComposer”,
]
}
}
Additionally, I dragged the Agent window to my second monitor. Previously, in “Editor (Classic)” mode, pressing Ctrl+I would successfully shift the focus to the input field within the Agent window on the second monitor. However, since the “Classic” mode has now been removed—leaving only the standard “Editor” mode—pressing Ctrl+I no longer shifts the focus to the Agent input field on the second monitor.
Expected Behavior
The Agent input field can gain focus on the second monitor.
Hey, thanks for the detailed report. This looks like a regression after removing “Editor (Classic)” mode. Focus commands route differently in the new layout, especially between windows.
A couple things to try:
Simplify the keybinding. Try using just composer.focusComposer or composer.openComposer without the intermediate commands. The chained workbench.action.focusSideBar step likely isn’t needed anymore and might mess with focus in the current layout:
If neither helps, this is likely a focus traversal bug on our side in cross-window cases. I flagged it with the team, let me know how it goes with the simplified binding.
Got it, so it’s not just the keybinding. Input isn’t working in the second window at all. This is a known focus issue when moving Agent to another monitor.
Yes, reloading the window didn’t help either. The crux of the issue is this specific command: composer.focusComposer. In the Editor (Classic) mode, it successfully focuses on the input field located on the second monitor; however, in the new Editor mode, it fails to focus on the input field on the second monitor. Please fix this issue; it is a clear and serious problem.