GNOME Bugzilla – Bug 540811
Directory listing broken
Last modified: 2008-11-07 19:20:08 UTC
On my machine, gthumb 2.10.8 tells that all directories are empty. If I point it to a single image, it is displayed fine. This was confirmed by another Mandriva Cooker user and it looks like someone has this on Gentoo too https://bugs.gentoo.org/show_bug.cgi?id=229027 Any idea where this could come from and how to debug it ? The bug appeared recently while gthumb has not been updated for a while, but I have no idea of the culprit.
Perhaps your mime-type database is messed up. Try playing with Edit > Prefs > Browser > Determine image type from content. Just a thought. - Mike
When activating this option, it spends more time before saying that there is no image in the directory
indeed it's an issue with the mime database rm -rf ~/.local/share/mime/ fixed the issue
So if I understood everything correctly, the format of mime cache changed, and anyone with some local mime types installed (/usr/local or ~/.local) will have this kind of breakage...
Just to be sure, I got a backup and tried "update-mime-database ~/.local/share/mime/" instead of rm, it fixes the issue too.
Closing bug, then... - Mike
Similar mime database problem reported here: https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/246505 "update-mime-database /usr/share/mime rebuilt the database but file permissions were 600 so no user could access the database. Also it looks like the system had to be restarted before database rebuild has been propagated. Now it works. Also evince was broken, no pdf file could be displayed."
Extra note: It seems google-earth messes up the mime database. Blame them.