Gui glitching vs code

982 Views Asked by At

When using vs code suddenly I started having glitch issues with the program. I am using ubuntu 18.04 and installed via snap. All 3 demonstrate glitches: 1 2 3

Additionally nothing shows inside the taskbars now, possibly to do with disabling hardware acceleration? I can't remember well enough if that was an issue before. I tried code --disable-gpu

I have also run on windows 10 without issues, although I have other issues that rarely relate to cpu overheating.

via terminal to disable hardware acceleration. I tried uninstalling and reinstalling via snap but issues persisted.

Version: 1.82.1 Commit: 6509174151d557a81c9d0b5f8a5a1e9274db5585 Date: 2023-09-08T08:41:36.199Z Electron: 25.8.0 ElectronBuildId: 23503258 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Linux x64 5.4.0-162-generic snap

1

There are 1 best solutions below

4
On BEST ANSWER

I had the same problem just now, they released a new version yesterday it seems. Reverting VSCode to the release before that solved it for me.

If you've installed via snap try snap revert code since snap retains the last version(s) even though the channel gets overridden - although I do not know how snap handles your reinstallation and if the old version is still maintained.

Ubuntu: 20.04.6
VSCode (after reverting): 1.82.0 (Commit 8b617bd08fd9e3fc94d14adb8d358b56e3f72314)

Edit to clarify:

To install older versions in snap you usually use channels. For the vscode snaps you do not have said channels for old releases. As a quickfix you can still use the revert command IF you have previous versions stored by snap (Check this answer on askubuntu).

If you did a complete fresh install you might not have previous snaps - in that case snap revert will most likely not work. Using an alternative installation option might be the solution for you (didn't test it since snap revert sufficed for me). One option might be to

  • download the .deb package you need here
  • install it using apt as explained here