2

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月08日T08: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

asked Sep 13, 2023 at 8:06
1
  • cannot reproduce on Ubuntu 22.04.2. I suggest you also raise an issue ticket. If you do, please add a link to it here. Commented Sep 13, 2023 at 9:35

1 Answer 1

2

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
answered Sep 13, 2023 at 9:45
Sign up to request clarification or add additional context in comments.

4 Comments

give exact version numbers. Also, what OS are you on and what desktop environment?
I tried reverting but received: "error: cannot revert "code": no revision to revert to". Given that you can only add a channel. How did this work for you?
@Renanin that is probably due to your uninstalling and reinstalling of VSCode (deleting your old versions previously retained by snap). I guess I would just try to install directly via apt for now or report the bug and wait for a fix to be applied to the snap on their stable channel. I updated my answer for a few more resources.
I downloaded 1.84 version on Nov 16th and it was still having issue, I had to install 1.80 stable version from June month. Atleast this question and answer helped me to know I am not alone with this issue !

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.