-
This issue sounds similar to another one in the evince snap that was investigated a while back.
-
It looks like the pinned version picked up the desktop file for the firefox deb package (
firefox.desktop
) instead of the one installed by the snap (firefox_firefox.desktop
). I’m not familiar with how app pinning works in plasma, but this proposed change might help. -
The only supported way of launching a snap app is
snap run appname
orsnapname.appname
(sometimes shortened toappname
if snapname and appname are the same). By running/snap/firefox/current/firefox-bin
you are indeed bypassing confinement by not using snapd at all. This is dangerous, not supported, and you’re “lucky” that it worked at all. Snaps are solid and secure when used as intended.