← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1802483] Re: Notifications emitted by a snap with local files or desktop files use wrong namespace

 

** No longer affects: libnotify (Ubuntu Xenial)

** No longer affects: libnotify (Ubuntu Bionic)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1802483

Title:
  Notifications emitted by a snap with local files or desktop files use
  wrong namespace

Status in libnotify package in Ubuntu:
  In Progress

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/1802483/+subscriptions