Unity does not honour window icons where there is no .desktop file.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
Unity |
Invalid
|
Medium
|
Unassigned | ||
wxWidgets |
Unknown
|
Unknown
|
|||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
wxwidgets2.8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
app = QtGui.QApplicat
app.setWindowIc
dialog = QtGui.QDialog()
dialog.
dialog.show()
app.exec_()
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.12-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
CompizPlugins: [core,bailer,
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)
Related branches
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 616 lines (+314/-69)10 files modifiedsrc/bamf-application.c (+63/-25)
src/bamf-legacy-window-test.c (+19/-0)
src/bamf-legacy-window-test.h (+4/-0)
src/bamf-legacy-window.c (+3/-0)
src/bamf-legacy-window.h (+1/-0)
src/bamf-matcher.h (+6/-0)
tests/bamfdaemon/test-application.c (+206/-44)
tests/bamfdaemon/test-bamf.c (+4/-0)
tests/data/icon.desktop (+7/-0)
tests/libbamf/Makefile.am (+1/-0)
summary: |
- Unity does not honor application icons + Unity does not honour window icons where there is no .desktop file. |
Changed in bamf: | |
status: | Confirmed → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
milestone: | none → 0.5.0 |
Changed in unity (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in unity: | |
status: | Confirmed → Invalid |
This is a duplicate bug, but don't remember of what. I'll mark it as a duplicate once I find the number.