Comment 2 for bug 1121169

Revision history for this message
Thierry-vignaud (thierry-vignaud) wrote : Re: crop temporarily hangs the app

And indeed there's now a lot of writing into ~/.cache/simple-scan/autosaves/

There's a 103Mb autosaves.db file there.

When cropping, simple-scan loops on :
- creating a second file (autosaves.db-journal)
- writing scores of Mb into it
- fsync() it
- removing it

When removing it, on first scan, it got recreated with lots of I/O including fsync(), even before actually clicking on the "crop" button.
When actually trying to crop, it got slow as hell again.