[Bug 795851] Re: software-center doesn't look inside packages for icons

Peter Miller pmiller at opensource.org.au
Sat Jun 11 08:08:18 UTC 2011


The more I think about it, the more it would appear that all packages
who's icons are present in app-install-data should have a packaging bug
against that application.  Why don't these packages install their own
icons?  Looked at it from this perspective, that the app-install-data
package exists at all is evidence of a problem in GUI package
installers, such as software-center, not looking into packages to obtain
the appropriate icons for each package.

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

Title:
  software-center doesn't look inside packages for icons

Status in “software-center” package in Ubuntu:
  New

Bug description:
  Binary package hint: software-center

  When displaying package lists, or information about a specific
  package, software-center looks in a number of directories for a
  suitable icon to display for that package, e.g. the /usr/share/pixmaps
  and /usr/share/app-install/icons directories.  It does not, however,
  look inside the package itself at the files it will install, for icons
  that would be installed into those same directories.  This means that
  an installed program will get an icon displayed (if it installed the
  icon itself) but an uninstalled program will not.  Additionally, when
  upgrading, the *old* icon will be displayed, rather than the new
  replacement icon in the package.

  Also, none of the icon behaviour appears to be documented anywhere.  I
  gleaned the above by reading the python source code.  Documenting the
  icon behaviour would allow developers and packagers to know how to put
  icons into their packages (icons they use for their projects and web
  sites) in order to have them displayed correctly in GUI-based package
  installer programs, such as software-center.  (I expected to find
  something in the Debian Policy Manual, but it only speaks about app
  menus.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/795851/+subscriptions




More information about the foundations-bugs mailing list