Public bug reported:

So unity8's launcher is going to start grabbing application/icon info
from UAL.  Which is great.

However, consider these two scenarios:

1) Application A in launcher is uninstalled -- icon should disappear from 
launcher.
2) Application B in launcher is updated and has a new icon -- icon should 
update in launcher.

The current way unity8 listens for this is not great.  We install a
session upstart job that listens to /usr/share/applications/*.desktop
and /home/phablet/.local/share/applications/*.desktop (notice hardcoded
phablet) and tells the launcher to refresh if anything changes.

Obviously this doesn't work for snaps.  And is not super elegant.  If
UAL could tell us that something changed (it could even be at the
granularity of "anything in the entire registry"), we could drop our
filewatcher job and handle situations #1 and #2 above better.

** Affects: ubuntu-app-launch (Ubuntu)
     Importance: High
         Status: Triaged

** Description changed:

  So unity8's launcher is going to start grabbing application/icon info
  from UAL.  Which is great.
  
  However, consider these two scenarios:
  
  1) Application A in launcher is uninstalled -- icon should disappear from 
launcher.
  2) Application B in launcher is updated and has a new icon -- icon should 
update in launcher.
  
  The current way unity8 listens for this is not great.  We install a
  session upstart job that listens to /usr/share/applications/*.desktop
- and /home/phablet/.local/share/applications/*.desktop (yup, hardcoded
+ and /home/phablet/.local/share/applications/*.desktop (notice hardcoded
  phablet) and tells the launcher to refresh if anything changes.
  
  Obviously this doesn't work for snaps.  And is not super elegant.  If
  UAL could tell us that something changed (it could even be at the
  granularity of "anything in the entire registry"), we could drop our
  filewatcher job and handle situations #1 and #2 above better.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1630997

Title:
  Provide a way to listen to registry changes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-app-launch/+bug/1630997/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to