MASTER: autosaves hang Simple Scan repeatedly on Ubuntu 13.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Simple Scan |
Triaged
|
Critical
|
Unassigned | ||
simple-scan (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Saucy |
Fix Released
|
Medium
|
Robert Ancell | ||
Trusty |
Fix Released
|
Medium
|
Robert Ancell |
Bug Description
THIS IS ACTUALLY FIXED IN UPSTREAM SIMPLE SCAN.
BUT AS IT IS NOT FIXED IN UBUNTU 13.10 A LOT OF DUPLICATES ARE CREATED.
IF THIS BUG IS MARKED FIXED IN SIMPLE SCAN, THIS BUG WILL DISAPPEAR FROM SEARCH RESULTS.
THIS MAKES IT HARDER TO MARK DUPLICATES.
PLEASE CLOSE THIS BUG ONLY WHEN "THE SITUATION" IS RESOLVED,
EVEN IF THE ACTUAL BUG IS ALREADY SOLVED.
-----
Simple Scan becomes highly unresponsive due to how it automatically saves documents as they are being scanned. This is due to writing large files into a sqlite database and doing it more frequently than is required.
To reproduce:
1. Open Simple Scan
2. Scan a lot of pages
Expected result:
The pages scan quickly without excessive memory usage.
Observed result:
The UI is highly unresponsive and looking in ~/.cache/
Regression potential:
Medium. The autosave mechanism was rewritten to be more efficient. There may be new bugs exposed in its usage.
Changed in simple-scan (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in simple-scan (Ubuntu Trusty): | |
status: | Triaged → Fix Released |
Changed in simple-scan (Ubuntu Saucy): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in simple-scan (Ubuntu Trusty): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
description: | updated |
summary: |
- Simple Scan hangs repeatedly on Ubuntu 13.10 + autosaves hang Simple Scan repeatedly on Ubuntu 13.10 |
Changed in simple-scan: | |
status: | New → Triaged |
importance: | Undecided → Critical |
description: | updated |
summary: |
- autosaves hang Simple Scan repeatedly on Ubuntu 13.10 + MASTER: autosaves hang Simple Scan repeatedly on Ubuntu 13.10 |
OK, I think I now have some more information on the Bug. It has to do with Hard Disk usage. For some peculiar reason, Simple Scan writes autosaves all the time. I temporarily fixed it by making the directory `~/.config/ simple- scan/autosaves` read only (using `chmod 555`) after deleting the 300MB autosave file it contained inside...
In order for the Bug to be fixed, the auto-saving feature has to be disabled. In my opinion, it is of no use and causes more problems than it solves.
PS: I noticed lately that Ubuntu (and Linux in general) is falling for the same trap Microsoft did when creating Windows Vista. It is simple: "Features that exhaust the Computer's resources are not needed; they make a good Operating System look like garbage..." :D