GNOME Bugzilla – Bug 674188
recently used files
Last modified: 2012-06-02 14:06:29 UTC
On startup evince accesses recently used files. This interferes with my autofs setup: 1. When the mount in not available then evince won't startup sometimes. For example if the automounted directory is not available for some reason like network outage. strace shows a "stat" command as last command. 2. the autofs mounts a NFS share on a network storage which is enabled per wake on LAN on request, i.e. if a file is accessed. I do this in order to save energy. But currently when I start evince some files get stat-ed and the device is powered. Is it possible to disable the stat accesses? Otherwise I would consider this as a bug of evince. Matthias
This behavior was introduced in 69e4f44 to address #339171, but is something of a mis-feature. The problem here is that evince stats every file in the recent document list on startup. As mentioned, this is a bad strategy for remote filesystems. But it's also bad for external media. My external USB disk which stores documents I need occasionally always needs to spin up before evince starts -- even when viewing documents on a locally mounted filesystem or downloaded from the web. Same bug filed against 2.22.x: https://bugzilla.gnome.org/show_bug.cgi?id=555670 Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584731 Thanks, Ross
I agree it's better to have non existent files in the recent menu than doing an unnecessary stat on every recent file. I've just remove the check in current git master. Thanks for reporting.
I have to thank for the efforts in developing this useful tool that I'm using everyday. Matthias