Public bug reported:

Hi,

Unity ignores the application icons of programs that were not launched
using .desktop files. Instead, every application just gets a gray icon
with a question mark.

This minimal python program opens a window and defines an icon for the
application. In the gnome or kde window managers and task lists the
application appears with the correct icon.

from PyQt4 import QtGui
fname = "/usr/share/icons/gnome/32x32/apps/accessories-calculator.png"
app  = QtGui.QApplication([])
app.setWindowIcon(QtGui.QIcon(fname))
dialog = QtGui.QDialog()
dialog.setWindowTitle("Application with Icon")
dialog.show()
app.exec_()

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.12-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic-pae 3.2.16
Uname: Linux 3.2.0-24-generic-pae i686
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,gnomecompat,move,place,compiztoolbox,imgpng,vpswitch,mousepoll,regex,grid,session,unitymtgrabhandles,snap,resize,zoom,animation,wall,workarounds,expo,fade,scale,unityshell]
Date: Fri Jun  1 11:24:33 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110909)
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-05-18 (14 days ago)

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


** Tags: apport-bug i386 precise

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

Title:
  Unity does not honor application icons

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to