Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2006 19:07:23 GMT
From:      Martin <nakal@nurfuerspam.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/99696: gtk-update-icon-cache is not being run often enough
Message-ID:  <200607011907.k61J7NDi048509@www.freebsd.org>
Resent-Message-ID: <200607011910.k61JAF6S016220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607011907.k61J7NDi048509>