Unable to Set Focus

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:

  1. 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:
{
  "key": "ctrl+i",
  "command": "composer.focusComposer"
}
  1. Reload the second window after moving Agent there: Ctrl+Shift+P then Developer: Reload Window. This helped with similar multi-monitor focus issues: Bugs in Agent/Chat window when its moved to editor and on different monitor

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.