Bug#463112: eog: Very slow to show an image on a directory with many images
Eugen Dedu
Eugen.Dedu at pu-pm.univ-fcomte.fr
Wed Jan 30 19:23:20 UTC 2008
Sven Arvidsson wrote:
> On Tue, 2008-01-29 at 17:08 +0100, Eugen Dedu wrote:
>> I have a directory with many images (my photo album with 5000 jpg
>> images). Each time I invoke eog anImage.jpg on this directory, I must
>> wait tens of seconds, because eog reads ALL the images in this
>> directory.
>>
>> If still is useful to read all the images in a directory before
>> showing an image, would it be possible to add an option to eog not to
>> read all these images?
>
> Hi,
>
> It sounds like you have the image collection feature on. Try disabling
> it with View > Image Collection or launching eog with
> --disable-image-collection
This feature was off during the test. I tried also with
--disable-image-collection: it took 1 minute to show a jpg file the
first time. The second/third time 2 seconds.
I executed the first time: strace eog misc/photos/album/11001.jpg, the
output scrolls very fast, afterwards it prints:
poll(
--> [here it waits about 2 seconds]
([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11,
events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13,
events=POLLIN}, {fd=14, events=POLLIN}], 8, 4997) = 0
stat("/home/dedu/.recently-used.xbel", {st_mode=S_IFREG|0644,
st_size=367563, ...}) = 0
ioctl(3, FIONREAD, [0]) = 0
poll(
--> [again it waits about 2 secs]
--> [the same as above for several times]
Hoping that this information is useful.
--
Eugen Dedu
More information about the pkg-gnome-maintainers
mailing list