chromium's icon wrong

Bug #453882 reported by sonda90
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Jason Smith

Bug Description

Hi i've seen that when Chromium is opened the Docky doesn't display the right Chromium's icon because it displays a white cross. You can see well it on the attached image.

Revision history for this message
sonda90 (the-sonda90) wrote :
Revision history for this message
Robert Dyer (psybers) wrote :

That icon is the 'default' icon when Docky cant figure out what to use.

The real bug here is it didnt match Chromium.

Changed in docky:
importance: Undecided → Low
Revision history for this message
sonda90 (the-sonda90) wrote :

i've seen that also with Openoffice docky displays the cross instead of the right icon

Revision history for this message
Robert Dyer (psybers) wrote :

Basically it will show that icon quite a bit for now. If it cant find an icon for the app in your icon theme, itll show this icon. Most icon themes have icons for some of the more used apps but nowhere near all.

Jason is working on the matcher so we should be able to find the proper icon better.

Revision history for this message
sonda90 (the-sonda90) wrote :

But in /usr/share/pixmaps there's chromium-browser.png icon why docky doesn't choose it?

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

Same problem with Thunderbird (/usr/share/pixmaps/thunderbird.png exists).
There's also no option "Pin to dock" in this case.

Revision history for this message
Robert Dyer (psybers) wrote :

Icon themes are not in /usr/share/pixmaps. Those files are not part of an icon theme.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

But /usr/share/pixmaps could or should be a fallback option.

Revision history for this message
Chris S. (cszikszoy) wrote :

GIO might be able to give us better results than searching various paths. GLib.AppInfo has a constructor that you can pass the commandline name of the program. If you can get that, AppInfo.Icon will give you the GLib.Icon, and I've already written something in DrawingService.cs to get the correct pixmap for a GLib.Icon.

Revision history for this message
Chris S. (cszikszoy) wrote :

I did some digging in the window matcher and I see now why it isn't picking up icons for those files. I haven't worked out the exact fix yet, but I'm on the right track.

http://dl.getdropbox.com/u/1241194/iconfixing.png

Changed in docky:
status: New → In Progress
assignee: nobody → Chris S. (cszikszoy)
Chris S. (cszikszoy)
Changed in docky:
assignee: Chris S. (cszikszoy) → Jason Smith (jassmith)
Chris S. (cszikszoy)
Changed in docky:
status: In Progress → Fix Committed
Robert Dyer (psybers)
tags: removed: docky
tags: removed: chromium icon
Revision history for this message
Ben (ben2talk) wrote :

A note about where to add custom icons would be nice - then, even if docky finds the correct icon, I can use custom icons when I like by copying and renaming them.

mervin (peter-stocker)
Changed in docky:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Robert Dyer (psybers)
Changed in docky:
status: Fix Committed → Fix Released
Revision history for this message
burkaygenc (burkaygenc) wrote :

I have created an application launcher for grooveshark in chromium 8. Then the next time I ran chromium from docky, the application icon appeared to be the grooveshark favicon. Now everytime I run chromium, I get the grooveshark icon. More annoyingly, when I hover over the icon, the label reads "Grooveshark - Listen to free music online...." even when the site has nothing to do with grooveshark. Somehow docky assumes every chromium window displays grooveshark web site.

Revision history for this message
Robert Dyer (psybers) wrote :

@burkaygenc: your problem is not the same as that on this (fixed) bug. Comments here will be ignored. See bug 488958 for more info on your bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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