GNOME Bugzilla – Bug 75728
List of commands displayed slowly / Remove duplications in MANPATH
Last modified: 2004-12-22 21:47:04 UTC
I start help and click on "Manual Pages" and then on "Applications". It takes between 10 and 15 seconds for the next page, which is headed Manual pages: Applications to appear. This page seems to have two links with the same text for most but not all of the entries. The first 6 entries are 24to8(1) 24to8(1) ImageMagick(1) Magick-config(1) Xprt(1) Xprt(1)
do you have a directory multiple times in the manpath? I think that could make this happen
The multiple entries are because directories were in the MANPATH twice. Even with the directories present once, it still seems sluggish; I acknowledge that I do have 6 directories in my MANPATH.
yes it's a bug that it shows files multiple times if the directory are present multiple times.
Would be really nice to have this one fixed. Very borderline high, though, IMHO.
I agree that it's slow, I think it's the rendering that is slow but I'm going to try to look into this during the weekend and hopefully have a fix for it before next weeks release. (for the duplications of manpages too).
hmm .. forgot to add a note about this one, we tried to pinpoint what is taking so long and it looks like it's inside gtkhtml2 but I can't see why since it shouldn't take that long.
Created attachment 9050 [details] [review] proposed patch
this patch removes only the duplicate manpaths present in $MANPATH
Ok, will look at this for GNOME 2.0.1.
mikael, could u look into my patch for 2.0.1. which has been pending for long time.
I'm terribly sorry, seem to have missed this one (for a LONG time). Commiting now.
thanks.