Skip to content
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

[BUG] - Strange popup when opening project manager from sidebar #727

Open
dannysteenman opened this issue Feb 15, 2024 · 1 comment
Open
Labels
bug depends on Depends on issues from VS Code

Comments

@dannysteenman
Copy link

dannysteenman commented Feb 15, 2024

It seems that whenever you click the project manager button to load the favorite projects, it will briefly show the save project button for just a couple milliseconds before showing the files.

This happens on a fresh installation of vscode and on my preconfigured vscode setup on my macbook m3.

Environment/version

  • Extension version: 12.7.0
  • VSCode version: 1.86.1
  • OS version: macOS 14.3.1 23D60 arm64

Steps to reproduce

See the screenshare of a fresh vscode installation with project manager installed:

vscode-project-manager-issue

Edit: In the split second this is the screen that pops up
SCR-20240215-iypw

So it thinks briefly that I don't have any favorite projects setup, whilst a second later 2 favorite projects are shown.

@alefragnani
Copy link
Owner

Hi @dannysteenman ,

That "popup" is what VS Code calls "Welcome View". It is used when your Tree based Views have no meaningful content to display (ie. no nodes).

The problem is, the appearance of that view is controlled by VS Code, not the extension. The extension provides the data (in this case, the list of projects) but prior to the first run to retrieve that data, VS Code already displayed the Welcome View. Even on a fairly small and simple list, the Welcome View is still appears, unfortunately .

I tested a few other extensions that provides Welcome View, like GitLens, Remote Extensions and Copilot, and it seems all suffers from the same issue. At the same time, doing a quick look at VS Code issues, I didn't find any about this subject, so maybe this is a regression that is present in recent releases.

I'll try to ask to the VS Code team if this is of their knowledge, if there is some issue reported about it, or some new approach to avoid this behavior, and if possible, apply to the extension. Otherwise, that welcome view will keep popping up on first access.

Hope this helps

@alefragnani alefragnani added the depends on Depends on issues from VS Code label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug depends on Depends on issues from VS Code
Projects
None yet
Development

No branches or pull requests

2 participants