← Back to team overview

desktop-packages team mailing list archive

[Bug 883314] [NEW] Missing mimetype icons in gnome-icon-theme

 

Public bug reported:

In a default install of Ubuntu 11.10 with Unity, applications that
follow the XDG icon theme spec to find icons for mime types do not work.

For instance, one such program is Chromium, which searches
/usr/share/icons/[current_theme], /usr/share/icons/gnome, and
/usr/share/icons/hicolor to look for icons. It will search these
directories for foo.ext, where "ext" is svg, png, or xpm. If the
mimetype is "image/png", it will search for image-png.ext, gnome-mime-
image-png.ext, image-x-generic.ext, and unknown.ext.

In Ubuntu 10.04, icons like gnome-mime-image-png.svg are in the Humanity
directory, which I believe to be the default theme, so it worked. If the
user switches themes, then image-x-generic.png from
/usr/share/icons/gnome is the fallback icon, so that worked.

However, in Ubuntu 11.10, the default theme is ubuntu-mono-dark, but all
the icons are in the Humanity theme. As a result, searching in
/usr/share/icons/ubuntu-mono-dark fails. In which case, it falls back to
/usr/share/icons/gnome. However, /usr/share/icons/gnome contains very
few icons, and we end up not finding any icons.

** Affects: gnome-icon-theme (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-icon-theme in Ubuntu.
https://bugs.launchpad.net/bugs/883314

Title:
  Missing mimetype icons in gnome-icon-theme

Status in “gnome-icon-theme” package in Ubuntu:
  New

Bug description:
  In a default install of Ubuntu 11.10 with Unity, applications that
  follow the XDG icon theme spec to find icons for mime types do not
  work.

  For instance, one such program is Chromium, which searches
  /usr/share/icons/[current_theme], /usr/share/icons/gnome, and
  /usr/share/icons/hicolor to look for icons. It will search these
  directories for foo.ext, where "ext" is svg, png, or xpm. If the
  mimetype is "image/png", it will search for image-png.ext, gnome-mime-
  image-png.ext, image-x-generic.ext, and unknown.ext.

  In Ubuntu 10.04, icons like gnome-mime-image-png.svg are in the
  Humanity directory, which I believe to be the default theme, so it
  worked. If the user switches themes, then image-x-generic.png from
  /usr/share/icons/gnome is the fallback icon, so that worked.

  However, in Ubuntu 11.10, the default theme is ubuntu-mono-dark, but
  all the icons are in the Humanity theme. As a result, searching in
  /usr/share/icons/ubuntu-mono-dark fails. In which case, it falls back
  to /usr/share/icons/gnome. However, /usr/share/icons/gnome contains
  very few icons, and we end up not finding any icons.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-icon-theme/+bug/883314/+subscriptions


Follow ups

References