#69 Increase interval thumbnail generation for large files

no target version
open
GUI (73)
5
2009-09-06
2009-08-10
Pander
No

Please increase the interval of thumbnail generation for very large files. This would apply for example for files over 10M. This would be a default value one should be able to change via Preferences. Implementation can be an integer representing MB. If this is implementation wise connected to the automated refresh if the view of the image, please also increase that interval.

Fixing this will save CPU resources when geeqie is generating thumbnails for large files while these files are being written to disk by another program. For example downloads from the Internet of applications like GIMP or ImageMagick that are writing several large files at the same time.

Refreshing the view with hotkey 'R' will force regeneration of thumbnails for large files when they have been changed. But while these files are being written to disk, the thumbnail generation should be slowed down until the file has been written completely. Typically an interval of 15 seconds would suffice. Even this could be offered as an settings which can be altered by the user via Preferences.

Discussion

  • Autorefreshing can be switched off in preferences. I think that for 1.0 it is enough.

    Later I want to rewrite the code to use GFileMonitor. The event G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT probably does what we need here.

     
    • milestone: --> no target version