[Bug 795851] [NEW] software-center doesn't look inside packages for icons
Peter Miller
pmiller at opensource.org.au
Sat Jun 11 07:47:58 UTC 2011
Public bug reported:
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.)
** Affects: software-center (Ubuntu)
Importance: Undecided
Status: New
--
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