Incorrect handling of SANE_STATUS_NO_DOCS status
Hi,
this is different issue from the previous one.
When sane_start()
returns SANE_STATUS_NO_DOCS
, everything works, as expected: the nice dialog, telling that ADF is empty, appears, and scanning stops.
But if sane_start()
returns SANE_STATUS_GOOD
, while subsequent sane_read()
returns SANE_STATUS_NO_DOCS
, simple-scan
just stops scanning, without raising an "ADF empty" dialog.
Though this problem is quite minor, users complains on it.