Bug 458719 - Skanlite multiple selection scan fails with "Error during device I/O"
Summary: Skanlite multiple selection scan fails with "Error during device I/O"
Status: REPORTED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 22.08.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-04 22:21 UTC by Maxim Egorushkin
Modified: 2022-09-04 22: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 Maxim Egorushkin 2022-09-04 22:21:16 UTC
With save mode "Open the save dialog for the first image only" multiple selection scan fails to scan the next selection with "Error during device I/O" message.

HP Color LaserJet Pro M283fdw scanner with hpaio:/ scanner connection. Connections escl:http:// and escl:https:// fail during preview scan with "Invalid argument" error while the scanner gets stuck with "Scanning to Computer" message until I tap "cancel" on it.

The scanner seems to require a delay between subsequent scan requests to move the image sensor back up to the starting position at the top of the page. To work around the error, I scan one selection at a time and make a new selection while the image sensor is returning to the starting position.

One way to fix this error would be for Skanlite to keep retrying its failed scan requests, e.g., retry every 0.5 second for 10 seconds and only then give up and fail. This numbers should probably be configurable.

Even better "do more with less" option would be for Skanlite to scan the entire bounding rectangle of all selections in one scan request / one image sensor scanning pass, and extract the multiple selection scans from that one big scan in RAM. This saves both time and energy for the expense of higher RAM utilization.