ports/99696: gtk-update-icon-cache is not being run often enough

Martin nakal at nurfuerspam.de
Sat Jul 1 19:10:15 UTC 2006


>Number:         99696
>Category:       ports
>Synopsis:       gtk-update-icon-cache is not being run often enough
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 01 19:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Martin
>Release:        FreeBSD-STABLE
>Organization:
>Environment:
multiple machines (running 6.x releases and -STABLE)
>Description:
When installing more and more ports for Gnome2, you can run into performance
problems, while using drop-down menus/windows with lots of icons.

Examples are: firefox bookmark toolbar, Gnome2 menu bar and other applications that show many icons at once. A click into firefox bookmarks can take over 10 seconds to make the drop-down menu appear.

I traced it down and noticed that icons in the gnome directories are being scanned again and again. The cache, even it had a fresh timestamp, has not been used.

>How-To-Repeat:
I'm not really sure how to reproduce it. What I had here is a Gnome2 desktop with a manually installed theme/icons for my user (please note that the custom icons are in my $HOME/.icons directory and have nothing to do with the way how to fix the problem).

I installed Xfce4 yesterday and the problem appeared today after starting the laptop. This is the third PC the problem appears on and I always fixed it with the fix suggested below.

>Fix:
It seems that gtk-update-icon-cache is not being run often enough after installing new themes.

To fix the problems I found out that it is sufficient to run:
gtk-update-icon-cache --force <directory-path>
on all /usr/X11R6/share/icons/ directories (please note: you are required to use --force because of the problem with the cache timestamp that is up-to-date).

I would like to know if:
- this problem can be solved by running "gtk-update-icon-cache --force" after some specific port installations
- this is a bug in GTK-support
- this is my fault, because I'm doing something I'm not aware of

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list