xchat-gnome doesn't update the icon cache at installation

Bug #135197 reported by Patrick A. Treptau
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xchat-gnome (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Menu icon is still missing in Feisty.

Tags: iso-testing
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for your bug report. I've installed xchat-gnome and xchat-gnome-common and I do have an icon in the menu.

Changed in xchat-gnome:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Patrick A. Treptau (mono6) wrote :

Correction: There is an icon, but it does not match up with the Xchat-Gnome icon in the menu bar of the app. It might just be my iconset (glass icons).

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Well even with this theme I have the Xchat icon (an X with the gnome foot above), this is strange.

Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

Just today I've installed XChat-GNOME on Gutsy and as you can see theres still no icon, not in the XChat-GNOME window nor on the Applications menu.

user@host:~$ aptitude show xchat-gnome
Package: xchat-gnome
New: yes
State: installed
Automatically installed: yes
Version: 1:0.18-0ubuntu1
...
user@host:~$ uname -a
Linux inspiron-1501 2.6.22-11-generic #1 SMP Fri Sep 7 05:07:05 GMT 2007 i686 GNU/Linux

I'm confirming this one.

Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

As per my comment/attachment I see this happening.

Changed in xchat-gnome:
status: Incomplete → Confirmed
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Well, this is quite strange, I do have an icon, but maybe it's provided by another theme.

Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

 Jérôme,

I guess I spoke to soon. After the reboot or something the icon shows. Both on the XChat-GNOME window and the Applications menu.

Do I unconfirm it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Does anybody still get the issue in gutsy?

Changed in xchat-gnome:
status: Confirmed → Incomplete
Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

Sebastien,

This is strange. I tried on my Gutsy desktop and right after the installation of XChat-GNOME the icons are missing. So I can confirm that right after install from "Add/Remove..." the icon is missing. I'd report back once I reboot to see what happens.

user@host:~$ aptitude show xchat-gnome
Package: xchat-gnome
State: installed
Automatically installed: yes
Version: 1:0.18-0ubuntu2
...
user@host:~$ uname -a
Linux inspiron-8200 2.6.22-12-generic #1 SMP Thu Sep 20 18:51:18 GMT 2007 i686 GNU/Linux

Revision history for this message
Troy Reynolds (troy-troyreynolds) wrote :

Fresh Install of Gutsy (Final Release) and after installing xchat-gnome the menu icon does not appear.

I have logged in/out, restarted X & rebooted the system and the menu icon does not appear.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I can confirm this on a clean, fresh install of Ubuntu 7.10.

Changed in xchat-gnome:
status: Incomplete → Confirmed
Revision history for this message
Roberto Sarrionandia (rbs-tito) wrote :

I had the icon on Feisty, but it does not appear on a clean install of Gutsy

Revision history for this message
DarkMageZ (darkmagez) wrote :

this appears to be an icon theme based issue. as the only icon theme that i get an xchat-gnome icon for is tango (out of my sets).

Revision history for this message
Sebastien Bacher (seb128) wrote :

What icon theme do you use?

Changed in xchat-gnome:
status: Confirmed → Incomplete
Revision history for this message
Tormod Volden (tormodvolden) wrote :

I use the default theme in Ubuntu 7.10 (clean install). I don't even know what it is called, since I never bother to change it. When I go into Appearance Preferences -> Theme, the "Custom" is highlighted, but my desktop looks like "Human".

Changed in xchat-gnome:
status: Incomplete → Confirmed
Revision history for this message
DarkMageZ (darkmagez) wrote :

i personally use tango (which works), but for the sake of gathering data for this bug i desided to try all of my other icon themes.

there is no icon with the icon sets:
human
crux
gnome
mist
tangerine

there is a stock xchat-gnome icon provided by one of the xchat-gnome packages. maybe the .desktop file should point to or fall back to that instead of praying that the current icon theme has an icon for this very obscure peice of software?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The xchat-gnome desktop uses "Icon=xchat-gnome" and xchat-gnome-common ships an /usr/share/icons/hicolor/48x48/apps/xchat-gnome.png, all the themes should fallback to hicolor and that works fine on my gutsy installation using the Human theme, to debug by somebody getting the issue

Revision history for this message
Tormod Volden (tormodvolden) wrote :

It's fine now, the correct icon is back in the menu. Maybe it was the 2.20.1 updates in -proposed?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Not likely due to the 2.20.1 updates no, there was no icon theme nor xchat-gnome change there

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Are the icons or themes "recompiled" at any point, for instance in a postinst sequence?

Revision history for this message
Sebastien Bacher (seb128) wrote :

That's a good question, yes the icon cache should be regenerated when installing an icon and looks like xchat-gnome doesn't do that which will make the icon being masked until the next cache update, confirming the bug

Changed in xchat-gnome:
status: Confirmed → Fix Committed
Revision history for this message
Tiago Quadra (tquadra) wrote :

I have the same problem. No xchat icon.
Clean 7.10 install.

I'll let you know if it will change atfter a reboot.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Tiago, it will change whenever the icon cache is updated, either by a new program installing, or manually running something like:
 sudo gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor

Revision history for this message
Tiago Quadra (tquadra) wrote :

Thanks Tormod, it worked.

Shouldn't the xchar package update the icon cache?

I installed the M. thunderbird and the icon worked without the manual icon cache update.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Yes, the bug status "Fix committed" means that the bug has been found and fixed and the fix will appear in an upcoming version.

Revision history for this message
Sean Hodges (seanhodges) wrote :

To clarify a workaround until the fix is released:

To get the missing icon to appear, you need to run in a terminal:

sudo gtk-update-icon-cache --force --quiet /usr/share/icons/hicolor

Thanks Tormod for this tip, it worked great for me.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Sebastien, you marked the bug Fix Committed in October, but the bug is still there in Ubuntu 8.04.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug should be fixed in the next upload

Revision history for this message
Sebastien Bacher (seb128) wrote :

the current version does update the cache

Changed in xchat-gnome:
status: Fix Committed → Fix Released
Revision history for this message
PeterShinners (pete-shinners) wrote :

I just installed gnome-xchat under a fresh Hardy 8.04. The application icon is missing from the main menu. The correct icon is appearing on the window frame.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Peter, it has been fixed in Intrepid, the development version. It was not, and will probably not be, fixed in Hardy.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Now it's broken again (if it ever was fixed). The postinst has a dh_installmenu entry but nothing for the icons. And the bug celebrates its one year anniversary, yay.

Changed in xchat-gnome:
status: Fix Released → Confirmed
Revision history for this message
Tormod Volden (tormodvolden) wrote :

xchat-gnome-common.postinst now runs update-icon-caches, but there is no /usr/share/icons/hicolor/icon-theme.cache so a new cache is not generated. Is there a new cache mechanism now?

Revision history for this message
Michael Vogt (mvo) wrote :

I got this today too, but for me it works after the panel gets restarted.

I suspect its something like this:
- desktop file is unpacked
- inotify int the panel picks that up
- panel looks for icon->none in the cache yet
- postinst is run and icon is added to the cache

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Michael, what cache? And what in the postinst should add the icon to the cache? I see some other postinst's call update-desktop-database, is this what's missing here?

Revision history for this message
Ludovico Cavedon (cavedon) wrote :

Confirming this bug in Jaunty Beta.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

mvo, I think you are right, because as soon as I run "sudo touch /usr/share/icons/hicolor/test" the icon appears correctly. What should the postinst do?

tags: added: iso-testing
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.