[Bug 1221760] [NEW] Having "pkgdir" in the manifest info would be useful

Sebastien Bacher seb128 at ubuntu.com
Fri Sep 6 14:34:36 UTC 2013


Public bug reported:

The touch system-settings need to list the installed clicks with their
icons [1]

To do that we call "click list --manifest". The manifest gives us an
icon path relative to the package directory though, which means that we
need to call "click pkgdir <name>" for each entry.

That works fine, but the command takes some ~0.1s (on a i5 laptop with
ssd drive), which leads to quite some latency in the UI if you have a
non trivial number of packages installed.

We can make the system-settings code async, and display icons
progressively, but that would mean more complex code, and UI flackering
(icons would be first a placeholder and replaced by the real ones as the
info come). It would be handy if the manifest was including the pkgdir
since it would remove most of the overhead we have...

[1] https://wiki.ubuntu.com/AboutThisDevice#phone-storage

** Affects: click (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Having "pkgdir" in the manifest info would be useful

Status in “click” package in Ubuntu:
  New

Bug description:
  The touch system-settings need to list the installed clicks with their
  icons [1]

  To do that we call "click list --manifest". The manifest gives us an
  icon path relative to the package directory though, which means that
  we need to call "click pkgdir <name>" for each entry.

  That works fine, but the command takes some ~0.1s (on a i5 laptop with
  ssd drive), which leads to quite some latency in the UI if you have a
  non trivial number of packages installed.

  We can make the system-settings code async, and display icons
  progressively, but that would mean more complex code, and UI
  flackering (icons would be first a placeholder and replaced by the
  real ones as the info come). It would be handy if the manifest was
  including the pkgdir since it would remove most of the overhead we
  have...

  [1] https://wiki.ubuntu.com/AboutThisDevice#phone-storage

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




More information about the foundations-bugs mailing list