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

#7 · open · 3 comments

View on GitHub ↗

CCCristian

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).

Comments

parnic

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

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

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.