fuzzy icon for AWN / Compiz

Bug #617645 reported by Luke Jennings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wxBanker
Fix Released
Medium
Unassigned

Bug Description

I found wxbanker thanks to omg ubuntu and I love it. I did notice that the icon in awn is fuzzy, please see the screenshot attached. A program I work on had a similar problem, which was caused by the wrong icon being assigned to the window/open application. It may not be the case here as I have not checked the code. I did look at the the icons which are installed by the package and I could not see a problem with those. I am using the stable ppa wxbanker 0.8 and ubuntu lucid (10.04).

Related branches

Revision history for this message
Luke Jennings (ubuntujenkins) wrote :
Revision history for this message
Luke Jennings (ubuntujenkins) wrote :

Also there is no icon for the about window

Revision history for this message
Michael Rooney (mrooney) wrote :

Thanks for the report, I can confirm this! It is weird that Gnome-Do and Docky show the hi-res icon, and if I browse to /usr/share/applications with nautilus, it also shows a nice icon. I know a bunch of the AWN dudes though and can hopefully find out if there is something better that I can do, if it isn't an AWN bug.

I'll also see about the About dialog. In Docky it gets grouped with the original icon and so behaves as expected.

I also noticed if I use the alt+tab option of compiz, it seems to be pulling the low-res icon as well, so maybe that is related.

Changed in wxbanker:
importance: Undecided → Medium
milestone: none → 0.8.1
status: New → Confirmed
Revision history for this message
Luke Jennings (ubuntujenkins) wrote :

It does sound rather weird in awn they do also get grouped but the active window one shows up on top.

Michael Rooney (mrooney)
Changed in wxbanker:
status: Confirmed → Triaged
Revision history for this message
Michael Rooney (mrooney) wrote :

Okay, I see one way to fix this. In main.py:140 I call SetIcon to a 16x16 image, which AWN and Compiz use. If I remove this call, AWN shows the generic window icon. I can change this to detect if a larger image is available on the system (such as /usr/share/icons/hicolor/48x48/apps/wxbanker.png) then they will have a higher quality one available since they don't seem to detect the system icon. Oddly if I make it higher such as 256, AWN happily uses it and it looks great big, but Compiz shows no icon then.

So I think the solution is to:
 * set the icon to the 48 if it exists and
 *maybe also subclass a BankerFrame or something which uses this icon by default, so other dialogs get it (csv import, account config, about)

summary: - Wrong Icon assigned to the window/open application
+ fuzzy icon for AWN / Compiz
Revision history for this message
Michael Rooney (mrooney) wrote :

The main frame and CSV Import frame should now have a 48px icon available to them; should be much prettier now, thanks for reporting this!

Alas it doesn't appear that I can fix the About dialog in a trivial fashion, but I've asked on the mailing list: http://groups.google.com/group/wxpython-users/browse_thread/thread/77ac00b30eb676fb so we shall see.

Changed in wxbanker:
status: Triaged → Fix Committed
Michael Rooney (mrooney)
Changed in wxbanker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.