Bug 424123 - Preview needs a check box to enable/disable batch mode
Summary: Preview needs a check box to enable/disable batch mode
Status: RESOLVED WORKSFORME
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 2.1.0.1
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-12 14:21 UTC by kreezxil
Modified: 2020-07-12 15:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kreezxil 2020-07-12 14:21:10 UTC
SUMMARY
When you preview your document, if skanlite identifies any areas in red, those areas are added to batch that will be scanned when you press scan, a save dialogue will appear for each one.

If you chose to select your own area for scanning, but didn't deselect any of the red areas with minus icon that appears when you hover over them, after your custom selected area is scanned and saved, the remaining red areas are also scanned and save.

If we had a checkbox or config mechanism to turn off that automatic batching system, this would greatly improve this apps functionality.

STEPS TO REPRODUCE
1. either have a dirty scan environment or a document that has several clearly scannable areas with lots of white in between.
2. select preview, skanlite will identify at least 1 area in red, probably more.
3. select the area you want to scan, and press scan
4. skanlite will scan that area and ask you to save it
5. then it will save each red area that was explicitly not removed from the batch and save those too. (this should not be the default behavior)

OBSERVED RESULT
described in the steps

EXPECTED RESULT
selecting a custom scan area instantly cancels the auto selected red scan areas from the batch

SOFTWARE/OS VERSIONS
Linux: Manjaro 20.0 / 5.18.5
Operating System: Manjaro Linux 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.4.44-1-MANJARO
OS Type: 64-bit
Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 31.3 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 Kåre Särs 2020-07-12 15:21:10 UTC
Thanks for the report.

This feature was supposed to be helping, but it unfortunately does not do that all the time.

In Skanlite you can go to the settings and check "Disable automatic selections" to disable the automatic selections on preview. It is also possible to click the clear selections after the preview.


This is not the most user-friendly UI, but it will have to wait for a backward incompatible update to libksane to reverse the automatic selection to default off...