-
Notifications
You must be signed in to change notification settings - Fork 94
Description
Setup (please complete the following information):
- Distribution: Gentoo
- Geeqie version [geeqie --version]: Geeqie 2.6.1 GTK3
Describe the bug
Since 2.6.1, running geeqie /path/to/image.jpg in a directory with multiple images flashes the first image in the directory then shows the requested image, instead of directly showing the requested file. This slows down geeqie as it uselessly decodes the first image (and feels wrong).
To reproduce
- Create a directory
/tmp/foowith files0.jpg,1.jpg,2.jpg. - Run
geeqie /tmp/foo/1.jpg. - See
0.jpgflash before1.jpgis displayed.
It might help if image files are large to induce a longer rendering time.
Expected behavior
Requested image is shown without flashing any other image before.
Additional context
This was not the case in geeqie version 2.5 nor any previous version.
Running strace -o /tmp/geeqie.strace -s 2048 geeqie /path/to/image.jpg then looking at /tmp/geeqie.strace shows openat() is called for the first image in the directory.