VSQuickOpenFile icon indicating copy to clipboard operation
VSQuickOpenFile copied to clipboard

Opening file when no tab is open also opens the last file opened, in a temporary tab

Open CCCristian opened this issue 5 years ago • 3 comments

Hello. The title might be confusing, so I will present the reproduction steps : • open Visual Studio with the extension installed • open any solution which contains at least 2 files • open some file A using the extension's open file dialog • close file A (ensure there are no tabs open) • open some file B (different from A) in the same way as A • notice as file B is opened in a regular tab, but then focus is switched right away to a temporary tab with file A (the last file opened)

This happens with the current latest version (1.14.0). Also (which might be useful to know) the focus after opening a file is on the file name in solution explorer (if it is visible), not on the newly opened tab (apparently only when opening a tab from a state where no tab is open).

CCCristian avatar Aug 08 '19 06:08 CCCristian

Thanks for the report, I'll try to find some time to look into it.

parnic avatar Aug 08 '19 14:08 parnic

I'm not seeing the temporary tab problem, but I am seeing the focus problem. I'll see if I can fix the focus issue and maybe that'll also fix your temporary tab issue.

parnic avatar Aug 09 '19 01:08 parnic

I've reverted the change that fixed this issue because it was causing several other problems (see #8). I'm not sure what to do about this now.

parnic avatar Sep 25 '19 22:09 parnic