https://bugs.kde.org/show_bug.cgi?id=458719

            Bug ID: 458719
           Summary: Skanlite multiple selection scan fails with "Error
                    during device I/O"
           Product: Skanlite
           Version: 22.08.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kare.s...@iki.fi
          Reporter: maxim.yegorush...@gmail.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to