vscode: Unsupported OS warning banner will not go away
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.86.1
- OS Version: CentOS 7.9.2009
Steps to Reproduce:
- Update VS Code to the latest recovery release
- Connect remotely to an machine with an unsupported OS
- After connecting a blue banner will persist on the top of the screen
I am aware that my OS is unsupported and I can only use VS Code on this machine for another year. I would like to remove this banner at the top of the screen. It’s a little annoying and would prefer to not have it constantly showing while working. Is there any way to disable this banner?
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Reactions: 308
- Comments: 58 (4 by maintainers)
please have an option to disable it. very annoying
To remove
unsupportedGlibcWarning.bannerwe need to makeisUnsupportedGlibcto be false To do it we can replaceisUnsupportedGlibc:k.isUnsupportedGlibcwithisUnsupportedGlibc:0inworkbench.desktop.main.jsMac OS command:
Please don’t post “+1” comments, as they produce low-value email notifications to everyone watching the issue. Instead, click a reaction button on the original comment:
this sucks.
I would also like an option for disabling the banner. The servers I connect to are managed by my organization, and there is nothing I can do to speedup the deployment of new OSes.
A similar command that can be used in Windows is: navigate to the file:
C:\Program Files\Microsoft VS Code\resources\app\out\vs\workbenchORC:\Users\<user>\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbenchthan run this command from Powershell(I recommended to make a backup to the file, just in case…) copy to backup…
this is absurd… it feels passive aggressive.
There’s a simple solution for all of this.
Give us the warning that it is unsupported, but allow us to continue working on legacy boxes indefinitely.
Let us dismiss this ridiculous banner forever.
Don’t fight developers, work with us.
Here’s a monkey patch workaround that I’ve tested on MacOS:
code /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.jsreturn X.create("vs/workbench/contrib/remote/browser/remoteConnectionHealth",e), and replace it withreturn null.There are two notable caveats with this fix:
I don’t know what the process for monkey patching on Windows or Linux looks like, hopefully someone more familiar with VS Code on those platforms can weigh in!
I work for Microsoft and going to find those idiots who introduced this breaking change and ugly persistent banner on top of the window. If they don’t remove this banner in the next few days, the heads will roll. They will be fired.
No. Nothing should ever blink. Never, seriously!
#203375 #203967 Don’t ask that. they will lock this issue too with “Too heated”…
@benibenj, @isidorn I have closed #204944 as this one was already opened for the same issue.
The new status bar at the top has multiple issues and appears to have been punted without much UX reviews,
Like I mentioned in #20944, we know we are using old version of VS code, with purpose. Please consider following,
Thanks, WinCPP
+1 Need option to remove the banner.
Love the persistent blue banner reminding me of my “unsupported” life choices every time I dare to connect with an OS from the past. Any chance we can get a “Thanks, I get it!” button to dismiss it? Seeking to focus on code, not reminders of my adventurous tech choices. Some of us thrive in the unsupported wilds and prefer our adventures sans banner.
Does the 1.86.2 fix the warning banner?
got 1.87 today and the banner is still there and cannot be disabled…
+1 please add an option to close the banner.
VS Code updated itself, which I didn’t ask for… and now it doesn’t like the underlying OS version which I can’t update. YOUR CONCERNS HAVE BEEN NOTED, now let me disable the banner.
+1 , it is very annoying
+1
Closed by https://github.com/microsoft/vscode/pull/208392
The banner will be dismissible once per minor version.
+1
I guess the ultimate question to ask here is why suddenly without any clear and strong precaution/warning/notice dropped the support for older OS, given the fact that for example centos7 hasn’t been officially EOL yet.
+1 Option to remove it
+1 Option to remove it
+1
There is a workaround, you can make the banner background/message invisible although the banner will still remain. In your vscode settings.json file you can add this:
You can also use this to change the color of the banner to better match whatever theme you have if you still want a constant reminder of the problem.
By info from @pento, i do the same but for Windows, and it works too like this:
Open
C:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\workbench.desktop.main.jsSearch for
return X.create("vs/workbench/contrib/remote/browser/remoteConnectionHealth",e), and replace it withreturn null;Restart VS Code;
After reboot you will see another bunner, about your version is broken, but you can just press on settings and click
Don't show againMicrosoft, this not only for Windows, with every day updates, stop make anything to waste time of everywone!)
+1 please add option to remove the banner
Thank you, @apivovarov
A similar command that can be used in Linux is
sudo sed -i 's/:k\.isUnsupportedGlibc/:0/g' "/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js"VSCode is open-source project. BUT… If you build VSCode from source (with your modifications) the application will not have the same functionality as officially distributed VSCode. For example, all Extensions will not be available.
+1 Option to remove it
+1 Option to remove it
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Now I don’t care about the issue, I care about the firing
Node.js 18 requires a minimum glibc version of 2.28. Ubuntu 18.04 - 2.27 Amazon Linux 2 - 2.26
@apivovarov Thanks for taking the time to respond. It turned out that the issue was macOs SIP. Temporarily disabling SIP (requires booting into recovery mode) allowed me to change the application file.
Click the cog (gear wheel) icon on that notification, and click “Don’t show again”.
How come features this basic are often straight up not implemented…
+1, would be nice to have possibility to remove the banner
+1 Option to remove it
Right click on
Visual Studio Code.appin Finder inApplicationsand select “Get Info” in drop down menu - Sharing & Permissions section (at the bottom) should show<your_user> (Me) | Read & Write@geertj