Files open in wrong window
See original GitHub issueUsing the File: Open command (<kbd>Ctrl</kbd>+<kbd>O</kbd>) to open a file from a restored (i.e. not maximized) window results in the file opening in another, pre-existing maximised window instead.
- VS Code Version: 1.61.2
- OS Version: Linux x64 3.10.0-1160.45.1.el7.x86_64
Commit: 6cba118ac49a1b88332f312a8f67186f7f3c1643
Date: 2021-10-19T14:58:13.605Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
Steps to Reproduce:
- Open a VSCode window and maximise it
- Open another VSCode window and make sure it is not maximised
- In the unmaximized window, do <kbd>Ctrl</kbd>+<kbd>O</kbd> (or use the File: Open command from the command pallette) and open a file
- The file will instead open in the maximised window
Using RHEL 7 (GNOME). I am unable to test this with the Inisders build as it’s a work device. I cannot reproduce on Windows.
Does this issue occur when all extensions are disabled?: Yes
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Source file opens into wrong window - Visual Studio Feedback
Right click on Error List and select 'Dock ' · Right click on Output and select 'Dock' · Close the remaining document in...
Read more >Visual Studio Clicking Find Results Opens Code in Wrong ...
The files open in the same position as the Find Results when the window is docked in the positions immediately next to the...
Read more >Files opening in wrong window - MSDN - Microsoft
1. Reboot the operating system to safe mode; 2. Disable all Add-ins; 3. Use Visual Studio Setup Wizard (via Control Panel) to repair...
Read more >How to fix the problem of files opening with the wrong ...
Firstly, right click the Windows icon and open “settings”. · Click the option “Default apps” on the left menu. · The menu on...
Read more >FIX: Files Open in the Wrong Program on Windows 10/11, 7
All you need to do is right-click on the file you want to open and select 'Choose another app'. This will open a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got a VM that can repro today with Fedora 35… will be able to debug now thanks
Yes I can still reproduce with 2 code windows created like that. I did File > Open from the un-maximised window while the maximised window was in the background, and the file ended up opening in the maximised window (which then came to the foreground). Same as before.