This bug was fixed in the package bamf - 0.5.0+13.10.20130628-0ubuntu1
---------------
bamf (0.5.0+13.10.20130628-0ubuntu1) saucy; urgency=low
[ Marco Trevisan (Treviño) ]
* BamfDaemon, LibBamf: Make the BamfView's name a property, deprecated
method+signal.
* BamfDaemon, LibBamf: add icon property to store the BamfView icon
and notify about its changes. New tests added.
* BamfMatcher: ignore registered .desktop files that are in an
autostart-folder. (LP: #1193502)
* BamfApplication: try to use a window icon if the computed icon
belongs to a "generic" app Added a bunch of new BamfApplication
tests for icon. (LP: #768931, #1007383)
* BamfFactory: remove the local_views list, we don't need that anymore
Having them tracked on allocated_views list is enough, and fixes an
issue as explained on bug #1193559. (LP: #1193449, #1193559)
[ Ubuntu daily release ]
* Automatic snapshot from revision 560
-- Ubuntu daily release <[email protected]> Fri, 28 Jun 2013
02:02:32 +0000
** Changed in: bamf (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/1007383
Title:
Unity does not honour window icons where there is no .desktop file.
Status in BAMF Application Matching Framework:
Fix Committed
Status in Unity:
Invalid
Status in wxWidgets crossplatform GUI toolkit:
Unknown
Status in “bamf” package in Ubuntu:
Fix Released
Status in “unity” package in Ubuntu:
Invalid
Status in “wxwidgets2.8” package in Ubuntu:
Confirmed
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/bamf/+bug/1007383/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp