[Bug 1802483] [NEW] Notifications emitted by a snap with local files or desktop files use wrong namespace
Launchpad Bug Tracker
1802483 at bugs.launchpad.net
Fri Nov 9 12:24:26 UTC 2018
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
As can be tested using this example snap:
- https://github.com/3v1n0/notify-send-test-snap
Basically the icons are referenced using absolute paths in snap
environment, while they should be readapted so that they depend on $SNAP
location.
As we do with appindicators and libunity emblems.
----
[ Impact ]
Icons sonuds and desktop files referenced by a snapped app using
notifications aren't exposed to the desktop in absolute paths
[ Test case ]
Build the test snap:
git clone https://github.com/3v1n0/notify-send-test-snap
snapcraft prime
snap try prime
Check that icons are shown when launching:
notify-send-test-snap
notify-send-test-snap.image-path
Running them with G_MESSAGES_DEBUG=all should provide translation
logging
[ Regression potential ]
Normal applications that are run with a SNAP environment variable set,
might use wrong paths for files or desktop file
** Affects: libnotify (Ubuntu)
Importance: Medium
Assignee: Marco Trevisan (Treviño) (3v1n0)
Status: In Progress
** Tags: patch
--
Notifications emitted by a snap with local files or desktop files use wrong namespace
https://bugs.launchpad.net/bugs/1802483
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list