Provide a way to listen to registry changes

Bug #1630997 reported by Michael Terry
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Ted Gould
ubuntu-app-launch (Ubuntu)
Fix Released
High
Unassigned

Bug Description

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.

Related branches

Michael Terry (mterry)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-app-launch (Ubuntu):
status: New → Confirmed
Ted Gould (ted)
Changed in ubuntu-app-launch (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Ted Gould (ted)
importance: Undecided → High
milestone: none → p1
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: p1 → p2
Changed in canonical-devices-system-image:
milestone: p2 → u8c-z
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-app-launch - 0.12+17.04.20170404.2-0ubuntu1

---------------
ubuntu-app-launch (0.12+17.04.20170404.2-0ubuntu1) zesty; urgency=medium

  [ Michael Terry ]
  * Bump version for new AppID methods

  [ Ted Gould ]
  * Cleanup registry references to make them consistent (LP: #1676361)
  * Watch system folders for apps added and removed (LP: #1630997,
    #1672392)
  * Wait with a timeout for the libertine service to start
  * Provide equality operators for Application and Application::Instance
    objects. (LP: #1677345)
  * Force GTK and Qt backends when using XMir

 -- Ted Gould <email address hidden> Tue, 04 Apr 2017 21:48:48 +0000

Changed in ubuntu-app-launch (Ubuntu):
status: Triaged → Fix Released
Ted Gould (ted)
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.