Visual Code fails to Open Containing Folder when installed with Snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Expired
|
Undecided
|
Unassigned |
Bug Description
Attempting to Open Containing Folder from Visual Code fails when VC is installed with Snap. However it works without any issues when using apt get.
Here is full link of report to Visual Code team. https:/
Any ideas?
Seems to be the packaging/
Below are the meta data. Versions are the same.
Also if I change /snap/bin/code with /usr/share/
Any thoughts?
=======
#Snap install fails to open containing folder.
#code_code.desktop
-------------------
[Desktop Entry]
X-SnapInstanceN
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=env BAMF_DESKTOP_
Icon=/snap/
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=
MimeType=
Actions=
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=env BAMF_DESKTOP_
Icon=/snap/
# version
------------
Version: 1.48.2
Commit: a0479759d6e9ea5
Date: 2020-08-
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.
OS: Linux x64 5.4.0-45-generic snap
==========
=======
#apt install works correctly and opens containing folder with dolphin
# code.desktop
------------
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/
Icon=com.
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=
MimeType=
Actions=
Keywords=vscode;
X-Desktop-
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/
Icon=com.
# version
---------
Version: 1.48.2
Commit: a0479759d6e9ea5
Date: 2020-08-
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.
OS: Linux x64 5.4.0-45-generic
Hello, I've tested Visual Studio Code snap on Ubuntu 20.04 and "Open Containing Folder" worked fine (with nautilus though).
A couple of questions: "DENIED" ...)
- what is the path you expect it to open?
- are there any apparmor denials in system logs (look for apparmor=
- do you have vs code snap & vs code deb installed at the same time? If so, please make sure you only have the snap installed.