Read metadata in the idle loop
authorColin Clark <colin.clark@cclark.uk>
Mon, 18 Jun 2018 17:53:46 +0000 (18:53 +0100)
committerColin Clark <colin.clark@cclark.uk>
Mon, 18 Jun 2018 17:53:46 +0000 (18:53 +0100)
commitb7985bf6b2bc26e5063acb961e232b4fafa0c5f3
treebc4667a3260d1d000df3481e95a7621a0ef5e397
parent65d3bf6e1bec76d884543dfaea547d4ff8575477
Read metadata in the idle loop

Selecting sort-by DateOriginal, DateDigitized or Rating caused Geeqie to
freeze while the metadata was read for the whole folder contents.

This commit reads those data in the idle loop and thus prevents the
freeze.
There is an option in Preferences/Metadata to autmatically read the
metadata in the idle loop whenever a new folder is selected.
22 files changed:
doc/docbook/GuideMainWindowStatusBar.xml
doc/docbook/GuideOptionsMetadata.xml
src/filedata.c
src/filedata.h
src/layout.c
src/layout_image.c
src/main.h
src/options.c
src/options.h
src/preferences.c
src/rcfile.c
src/typedefs.h
src/view_file.h
src/view_file/view_file.c
src/view_file/view_file_icon.c
src/view_file/view_file_icon.h
src/view_file/view_file_list.c
src/view_file/view_file_list.h
web/help/GuideMainWindowStatusBar.html
web/help/GuideOptionsMetadata.html
web/help/GuideReferenceXmpExif.html
web/help/GuideSidebarsInfo.html