[sane-devel] Fwd: Bug in iscan_2.30.4-2_amd64.deb

Ulf Zibis Ulf.Zibis at gmx.de
Wed Jul 28 13:07:56 BST 2021


Hi,

I had send the email below to Epson, but there is no reaction.

Can anyone tell me a better place, where to post this bug?

-Ulf

Von meinem Seibert gesendet



-------- Weitergeleitete Nachricht --------
Betreff: 	Bug in iscan_2.30.4-2_amd64.deb
Datum: 	Sun, 18 Jul 2021 15:33:11 +0200
Von: 	Ulf Zibis <Ulf.Zibis at CoSoCo.de>
An: 	SEIKO EPSON Corporation <linux-printer at epson.jp>



Hi there,

I suspect, there is a small bug in iscan_2.30.4-2_amd64.deb.

The problem of the bug is mentioned here: https://sourceforge.net/p/gscan2pdf/bugs/389/#04ec/a0ea

And here: https://gitlab.com/utsushi/utsushi/-/issues/68#note_626389990

In my experience, |scanimage --help| dynamically adapts its output upon the given options before |--help|, i.e., the stated default values of options differ upon them. Please compare:

|$ scanimage --source='Automatic Document Feeder' --scan-area=A4 --help [.....] Options specific to device `epkowa:usb:002:003': [.....] Geometry: --scan-area Maximum|A4|A5 Landscape|A5 Portrait|B5|Legal|Letter|Executive|CD [A4] Select an area to scan based on well-known media sizes. -l 0..215.9mm [5.89999] Top-left x position of scan area. -t 0..355.6mm [0] Top-left y position of scan area. -x 0..210mm [210] Width of scan-area. -y 0..355.6mm [297] Height of scan-area. --quick-format Maximum|A4|A5 Landscape|A5 Portrait|B5|Legal|Letter|Executive|CD [A4] Select an area to scan based on well-known media sizes. (DEPRECATED) [.....]|

|$ scanimage --scan-area=A4 --source='Automatic Document Feeder' --help [.....] Options specific to device `epkowa:usb:002:003': [.....] Geometry: --scan-area Maximum|A4|A5 Landscape|A5 Portrait|B5|Legal|Letter|Executive|CD [A4] Select an area to scan based on well-known media sizes. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..355.6mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..355.6mm [355.6] Height of scan-area. --quick-format Maximum|A4|A5 Landscape|A5 Portrait|B5|Legal|Letter|Executive|CD [A4] Select an area to scan based on well-known media sizes. (DEPRECATED) [.....]|

The latter still lists |--scan-area| and |--quick-format| as |A4|, instead |Maximum|. In the opinion of the developer of gscan2pdf this is a bug. I too think, he is right, as if frontends rely on this help defaults, the user gets presented the wrong values in the GUI.

Thanks to review this problem,

-Ulf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20210728/e25422b2/attachment.htm>


More information about the sane-devel mailing list