Skip to content

Switching to different editor changes editor group #244222

@mrichtarsky

Description

@mrichtarsky

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:

Version: 1.98.2 (user setup)
Commit: ddc367e
Date: 2025-03-12T13:32:45.399Z
Electron: 34.2.0
ElectronBuildId: 11161602
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Windows_NT x64 10.0.19045

Steps to Reproduce:

  • Start with an empty workspace
  • Open a file
  • View: Split editor. You now have two editor groups with the same file open.
  • In the first editor group, open a new editor (e.g. Create: New File)
  • Press hotkey for workbench.action.openEditorAtIndex1

Expectation: The first editor in editor group 1 gets focus
What happens instead: The editor in editor group 2 that has the file opened in the split view gets the focus.

More details in #239063

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions