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

Regression: Certain language status text appear blank with Insiders (not non-Insiders) #233379

Open
sean-mcmanus opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority workbench-status Status bar
Milestone

Comments

@sean-mcmanus
Copy link
Contributor

Does this issue occur when all extensions are disabled?: N/A (my repro is with the C/C++ extension, but it's a VS Code bug)

  • VS Code Version: Version: 1.96.0-insider (user setup)
    Commit: 818169a
    Date: 2024-11-07T05:05:36.563Z
    Electron: 32.2.1
    ElectronBuildId: 10427718
    Chromium: 128.0.6613.186
    Node.js: 20.18.0
    V8: 12.8.374.38-electron.0
    OS: Windows_NT x64 10.0.26100
  • OS Version:

Steps to Reproduce:

  1. Use the C/C++ extension.
  2. Open/create a test.cpp file. You need to paste enough text in the so that you can get it into a busy state after step 3.
  3. Right-click and choose "Run Code Analysis on Active File".
  4. Hover over the C/C++ language status.

Bug: The Code Analysis language status text is blank (when it's in a busy state). It doesn't repro with non-Insiders. So far, I don't know what is special about that language status item to cause the text to be blank (so I'm not sure how to get a repro outside of our extension). The code is at https://github.com/microsoft/vscode-cpptools/blob/main/Extension/src/LanguageServer/ui.ts#L68 and the this.codeAnalysisStatusItem.text = is only used at 2 spots. The debugger shows the text is set correctly.

Image

@amunger amunger assigned jrieken and unassigned amunger Nov 8, 2024
@jrieken jrieken added the bug Issue identified by VS Code Team member as probable bug label Nov 8, 2024
@jrieken jrieken added this to the November 2024 milestone Nov 8, 2024
@jrieken jrieken added workbench-status Status bar important Issue identified as high-priority labels Nov 8, 2024
@Also2534greed
Copy link

VS Code version: Code 1.95.0 (912bb68, 2024-10-28T20:16:24.561Z)
OS version: Windows_NT x64 10.0.22631
Modes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority workbench-status Status bar
Projects
None yet
Development

No branches or pull requests

4 participants