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

Edit Configurations (UI) is randomly blank #7523

Closed
sean-mcmanus opened this issue May 14, 2021 · 5 comments · Fixed by #7524
Closed

Edit Configurations (UI) is randomly blank #7523

sean-mcmanus opened this issue May 14, 2021 · 5 comments · Fixed by #7524
Labels
bug Feature: Configuration An issue related to configuring the extension or IntelliSense fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Milestone

Comments

@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented May 14, 2021

Bug type: Language Service

Describe the bug

  • OS and Version: Windows (local) and optionally Linux (remote)
  • VS Code Version: today's Insiders
  • C/C++ Extension Version: 1.4.0-insiders
  • Other extensions you installed (and if the issue persists after disabling them):
  1. Use C/C++: Edit Configurations (UI).

Bug: The UI will randomly be blank (everything except for IntelliSense mode and cStandard/cppStandard, i.e. the enums, which instead of being blank have incorrect values). The repro probability seems to increase when the workspace is remote. It seems like this could be a VS Code bug, but I'm not sure since I don't have a repro without our UI yet. Repro probability may also increase when invoked through the walkthrough (not sure).

image

@sean-mcmanus sean-mcmanus added bug Language Service Feature: Configuration An issue related to configuring the extension or IntelliSense labels May 14, 2021
@sean-mcmanus sean-mcmanus changed the title Edit Configurations (UI) is randomly blank in remote scenarios Edit Configurations (UI) is randomly blank May 14, 2021
@sean-mcmanus sean-mcmanus self-assigned this May 14, 2021
@sean-mcmanus sean-mcmanus added this to the 1.4.0 milestone May 14, 2021
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label May 14, 2021
@sean-mcmanus sean-mcmanus removed their assignment May 14, 2021
@heartacker
Copy link

still repro. using 1.4.0-insider2

@sean-mcmanus
Copy link
Contributor Author

@heartacker Do you have more repro details? Is the blank UI random for you? Are you using remote? Our fix was to delay the load by 500ms -- can you tell if increasing that delay would fix that issue for you? See #7524 , i.e. via either modifying the shipped javascript or debugging the TypeScript?

@heartacker
Copy link

  1. always,not random
  2. not using remote
  3. after 20s, it works

@sean-mcmanus
Copy link
Contributor Author

@heartacker That sounds like a different issue. What do you mean by "after 20s, it works"? Do you mean it's blank for 20 seconds and then after waiting it suddenly populates or are some actions required to get it to populate after 20 seconds?

@sean-mcmanus
Copy link
Contributor Author

@heartacker It's a regression with VS Code 1.56 (it doesn't repro with 1.55 or earlier). I've filed a bug at microsoft/vscode#125546 . It's possible we may be able to add a workaround (not sure yet). Certain conditions such as changing to a Chinese language pack appear to increase the repro probability.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Feature: Configuration An issue related to configuring the extension or IntelliSense fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants