As discussed no change is needed on scopes api level. Scopes should be using scope_directory() getter to get the base dir and then use all assets paths relative to that; scope_directory() uses $SNAP prefix already.
There is a problem though with thumbnailer uris, such as image://thumbnailer/file:///snap/unity8-session/... , which do not yield thumbnails. This might be related to https://bugs.launchpad.net/snappy/+bug/1620635 ** Changed in: unity-scopes-api (Ubuntu) Status: New => Opinion ** Changed in: unity-scopes-api (Ubuntu) Status: Opinion => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity-scopes-shell in Ubuntu. https://bugs.launchpad.net/bugs/1639249 Title: Result art not displayed when run in a snap Status in unity-scopes-api package in Ubuntu: Invalid Status in unity-scopes-shell package in Ubuntu: New Bug description: When a scope calls result.set_art() the path is not adjusted to take in consideration $SNAP. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1639249/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp