New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI - Tab View: Oddities Choosing Projects in Alternate Tab #47926
Comments
(Experimental duplicate detection) |
Still a different issue than what the bot thought was duplicate. I was able to download a version of 1.21.1 to regain this feature, but keeping the 1.22.2 for any future tests. |
@3desprit we currently do not support to open the same folder in multiple windows, it seems to me the folder is already opened in another window and we just switch focus to it, can you confirm? |
I could see where that would seem to be the issue with choosing between a small set of projects in the screencasts, but the issues I'm trying to portray is what happens when trying to assign a single unopened project to a tab even when not already loaded. It was nearly impossible with 1.22.2 to choose a tab, and set a project to that tab, regardless of it being open. To give a bit more context, here is what the workflow was like, and what it is like in 1.22.2: with freshly opened editor (single tab)
What is happening with 1.22.2
Coming back to this today, I'm starting to wonder if this was some sort of artifact from the state prior to the upgrade, as this is stopped happening after starting up and using 1.21.1 (as if it updated session settings). To give more context of what happened during the upgrade from 1.22.1 to 1.22.2, I had 4 tabs open before it closed itself, and reopened up with a single tab (expected), but still showed the need for an upgrade. It wasn't until upgrading the 2nd time that it did upgrade to 1.22.2, and reopened with the welcome. The projects that were showing the most trouble were those open before the upgrade. My end goal is to always open 3-4 different projects in tabs of their own (which is easily accomplished with 1.21.1 and 1.22.1), as some of my plugins will not work when there are multiple projects in a workspace. |
@3desprit when you talk about "tabs" you actually mean "windows" right? You want to open 4 different folders in 4 different windows? Does it reproduce if you shutdown all instances and start fresh? And if you start fresh, this should work:
=> does this folder open in the second window that you opened as part of clicking "File > New Window"? |
Correct, tabbed editors, windows, whatever you want to call them. I'm just trying to stay as close to the terminology used by the editor, and what I recollect when the feature was added. While I did not try the above process exactly, I did noticed that opening projects I hadn't opened recently worked as intended without issue. Looking over the screencasts I do see I wasn't overlapping projects that were already open in a tabbed editor/window (watch the project being opened and what shows as open). I can see where it would look like the same project being opened, especially after opening one project, and then opening again because it didn't show loaded in any of the tabbed editors. It may also be worth pointing out there are 3 projects I'm opening that are similarly named (barista-core, barista-agent, barista-runner), which may have been perceived as a single project at a glimpse; 3 projects that live in my tab view each in their own editor. Unfortunately I am unable to reproduce this any longer as after using 1.21.1 this stopped in the 1.22.2 (I should have saved the preferences, that's my bad), and now works as intended, of course I can always try to reproduce the entire process again if I could find a download of 1.22.1. With the results and resolve, could this simply be chalked up to a corrupted restore state? |
Ok closing as this does not seem to reproduce. |
Issue Type: Bug
Working: 1.22.1
Broken: 1.22.2
OS: OSX 10.13.4
Issue: When choosing a project for a new tab or tabs, instead of setting the folder to the tab it was opened from, the project chosen may replace another tab's project, clear the project from another tab, open a whole new tab, or close multiple tabs. For some reason this seems to happen with recent projects, but after much testing seems to happen with any folder. Just to clarify, these are NOT saved workspaces, simply project folders.
To better show this issue, here are some screencasts showing this behavior:
https://d.pr/i/zJEL1y
https://d.pr/i/4soWRV
https://d.pr/i/uuHkg2
Additional Details
In these screencasts I am choosing a few recent projects that showed this behavior, but each time they did something different. You can see where switching a project will actually remove a project from one of the tabs returning me to the welcome tab, closing several others at a time, almost never showing in the tab I opened from.
Summary
This was working earlier today with 1.22.1, and after I upgraded to 1.22.2 I found myself unable to set my projects in these multiple tabs. Just to make sure I disabled all installed extensions, but the behavior persisted.
Prior to this upgrade I was able to select whatever project I wanted in a tab, and it would become the dedicated project for that editor without anything changing it when setting other tabs. I checked through the release notes to see if there was anything that may have changed, but did not find anything relevant to tabs.
VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:32:53.389Z)
OS version: Darwin x64 17.5.0
System Info
Extensions (26)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: