After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 674188 - recently used files
recently used files
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-16 09:57 UTC by Matthias
Modified: 2012-06-02 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias 2012-04-16 09:57:21 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
Comment 1 Ross Vandegrift 2012-05-11 12:21:40 UTC
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
Comment 2 Carlos Garcia Campos 2012-06-02 09:16:08 UTC
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.
Comment 3 Matthias 2012-06-02 14:06:29 UTC
I have to thank for the efforts in developing this useful tool that I'm using everyday. 

Matthias