Slack opening file browser, firefox, and chrome in the snaps context?

popey on the #ubuntu IRC suggested I create a thread on here.

When I click a link in slack Firefox (or chrome on my work laptop) opens and has the slack icon.

If the browsers were previously running then the link opens in the browser and the icon is fine.

This also happens when I download an image in slack and press “open containing folder”.

I’m not sure if when slack launches a process like Firefox if it gets sandboxxed inside of the snap or if it’s just an icon error.

$ sudo snap list
Name                   Version                 Rev   Tracking  Publisher     Notes
core                   16-2.36.2               6034  stable    canonical✓    core
core18                 18                      442   stable    canonical✓    base
discord                0.0.5                   82    stable    snapcrafters  -
gnome-3-26-1604        3.26.0                  74    stable/…  canonical✓    -
gnome-calculator       3.30.1                  260   stable/…  canonical✓    -
gnome-characters       3.30.0                  139   stable/…  canonical✓    -
gnome-logs             3.30.0                  45    stable/…  canonical✓    -
gnome-system-monitor   3.30.0                  57    stable/…  canonical✓    -
gtk-common-themes      0.1-4-g88bc1b2          818   stable/…  canonical✓    -
phpstorm               2018.3.1                74    stable    jetbrains✓    classic
quasselclient-moon127  0.12.4                  2     stable    moon127       -
slack                  3.3.3                   9     stable    slack✓        classic
spotify                1.0.94.262.g3d5c231c-9  28    stable    spotify✓      -

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename: bionic

$ snap --version
snap    2.36.2
snapd   2.36.2
series  16
ubuntu  18.04
kernel  4.15.0-42-generic
2 Likes

I have experienced this issue as well. @kenvandine and @Trevinho may have thoughts to share.

1 Like

This should be handled via xdg-open from the core snap, which provides a bridge to the host. @mvo do you have ideas?

I believe this is https://bugs.launchpad.net/snapd/+bug/1835024