desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #153471
[Bug 1186751] Re: Don't hard-depend on humanity-icon-theme
** No longer affects: software-center
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/1186751
Title:
Don't hard-depend on humanity-icon-theme
Status in GNOME Icon Theme:
New
Status in software-center package in Ubuntu:
Triaged
Bug description:
software-center depends on humanity-icon-theme which adds a few MB to
the .iso size for flavors like Xubuntu or Ubuntu GNOME which ship a
different theme by default. This is also an issue for Debian which
packages software-center but not humanity-icon-theme yet.
softwarecenter/ui/gtk3/utils.py has this note
# add the humanity icon theme to the iconpath, as not all icon
# themes contain all the icons we need
# this *shouldn't* lead to any performance regressions
path = '/usr/share/icons/Humanity'
A quick grep shows at a minimum these hard-coded icons as well:
softwarecenter/ui/qml/SearchBox.qml: source: "file:///usr/share/icons/Humanity/actions/16/edit-find.svg"
softwarecenter/ui/qml/SearchBox.qml: source: "file:///usr/share/icons/Humanity/actions/16/edit-clear.svg"
softwarecenter/ui/qml/pkglist.py: path = "/usr/share/icons/Humanity/categories/32/applications-other.svg"
Those files should not be hard-coded as they are shipped by many icon
themes such as gnome-icon-theme. Even the HighContrast theme which is
included in Ubuntu by default ships those icons. I believe you are
hurting accessibility by not allowing the HighContrast theme to
provide those icons.
The problem with hard-coding an icon theme is that it is a hack, a
workaround to improve things for one app but making things more
difficult for app developers (since they'll have to figure out similar
hacks...which will cause problems if they want their apps to work on
other distros as well) and theme developers who have to be aware of
these issues. If there are icons that need to be available for all
themes, please ship them in /usr/share/icons/hicolor/ instead.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: software-center 5.6.0-0ubuntu4
ProcVersionSignature: Ubuntu 3.9.0-2.7-generic 3.9.3
Uname: Linux 3.9.0-2-generic x86_64
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
Date: Sun Jun 2 11:11:51 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: software-center
UpgradeStatus: Upgraded to saucy on 2013-05-07 (25 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-icon-theme/+bug/1186751/+subscriptions