← Back to team overview

dx-packages team mailing list archive

[Bug 1007383] Re: Unity does not honour window icons where there is no .desktop file.

 

Fix Released in Bamf BAMF 0.5.0.

** Changed in: bamf
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
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 Released
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