vscode: Linux: dialogs are looking broken in the snap package
-
vscode version : Version: 1.26.1 Commit: 493869ee8e8a846b0855873886fc79d480d342de Date: 2018-08-16T18:34:20.517Z Electron: 2.0.5 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Architecture: x64
-
OS Version: Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic
Steps to Reproduce:
- Try to move a file from one folder to an other
- Confirmation modal is buggy
When I hover the buttons, they appear. But as you can see, the modal header has some dark black color.
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (11 by maintainers)
Commits related to this issue
- Merge pull request #70884 from Wimpressive-Snaps/snapcraft-update Snapcraft update. Fixes #63194 Fixes #57019 — committed to microsoft/vscode by joaomoreno 5 years ago
- snapcraft.yaml: Add the GNOME 3.26 PPA. Adds the PPA for the GNOME 3.26 framework which is maintained by the Ubuntu Desktop team. This PPA includes GTK3 and GNOME3 components used to create the GNOM... — committed to code-oss-dev/code by flexiondotorg 5 years ago
For reference, the issue is not due to an incorrect zlib version suggested above. The problem is due to the snap accidentally referencing system libraries instead of it’s own. This manifests with vscode loading the libgdk-pixbuf-loader library from the system, which is compiled against a different zlib than the one within the snap’s files. The solution, therefore, is not to mess about trying to change the zlib version but to determine why it is using the system libraries in the first place.
I’ll try to look at it tomorrow, or @popey or @flexiondotorg might beat me to it.
I just re-installed VS Code via
apt
and removed it fromsnap
(actually I completely removedsnap
…) and now it works correctly.Basically the issue is that
snap
is not using the latest library available on the system (libz.so.1) thus messing up other libraries that depend on it (GTK3 on ubuntu 18).Still broken having removed Snapcrafter’s vscode snap and installed code 1.33. 😦
Any chance on getting a status update on this issue? I am facing the same thing. It would be no great hardship to try HRK44’s solution but if there’s any hope of seeing this resolved in the near-term I’d just as soon stick with the snap.
@bpasero I tried some stuff but couldn’t manage to successfully update this ZLIB without creating a bunch of system issues, if someone with more advanced skills in Linux would try that’d be great.