[Bug 37429] eog caches too many images

Kevin Knerr ld_barthel at yahoo.com
Fri Mar 31 04:05:24 UTC 2006


Public bug reported:

Affects: eog (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed


Description:
This bug exists when calling eog via nautilus and via the command line.

To reproduce:
Browse to a directory in nautilus that contains 3 or more image files. Right-click on 1 and select open with "Image Viewer". Every file in the directory is cached before eog opens. But if you select 2 or more, then only the selected images are cached.

Open a terminal. For simplicity, cd to a directory containing 3 or more
image files. The command "eog image.jpg" will result in caching every
image in the directory. Using wildcards results in caching every image
as well--if the wildcards match only a single filename. If the wildcard
expression matches only some of the filenames, then only the matched
files are cached.

In short, eog refuses to cache only 1 image. If only 1 image is
selected, it ignores the user's selection and caches every single image.
This results in extremely slow performance and at worst, a significant
wast of resources because every single image is preloaded by eog.

This behavior exists in both the breezy and dapper packages.

Two suggestions as a result of this behavior:
1) Ensure eog only opens a single image when a single file is selected. (directly fixes this bug)
2) Improve performance by revising the caching method for collections to preloading a smaller number of files.
-- 
eog caches too many images
https://launchpad.net/malone/bugs/37429




More information about the desktop-bugs mailing list