[sane-devel] sanetwain hicups

Andrei B. andrixnet@yahoo.com
Wed, 29 May 2002 23:41:18 -0700 (PDT)


 Just reporting some apparent bugs :

sane-1.0.8 on a linux machine, saned running.
latest twain_32 installed on a win95 system.
sanetwain (dl yesterday)
tamarack 6000C scanner.

I don't know what resolution is used for preview by  it's windows
software, xscanimage or xsane. however:

If in preferences, Preview is set to "use minimum resolution",
sanetwain GUI always returns "Device busy" error.
Same if resolution set to 100dpi in preferences.

If in preferences, Preview is set to "Use the following resolution" and
resolution set to 50 or 25 dpi, then sanetwain scans a preview, after
scanning complete, it shows "Device busy" error, then, after pressing
OK, the preview image appears correctly in sanetwain preview area.



 Changing scanning resolution setting in sanetwain window, then
changing scan mode will reset the resolution setting to the default
100dpi.

all textboxes holding resolution in sanetwain behave annoyingly
considering the following:
- normally text is alligned to the right.
- a click in the box to edit the text will delete the "100 dpi" text
and replace it with only "100", but now it is aligned to the left.
- trying to click and select a digit which to change cannot be easily
accomplished, since the text contents of the box is changed upon
clicking into it.

Suggested behaviour of these textboxes:
- keep a consistent aligning of the text. Do not change aligning when
editing the textbox
- keep entire text in the text box when editing. Changing it upon edit
confuses the user.
- handle the contents of the textbox to read the entire text in it when
changed, consider only the first sequence of digits as the resolution.
Convert it into a number, check to be in a valid range. place it back
into the box and add "dpi" after it (since it will always be dpi). 

Also, the scan resolution textbox retains focus (cursor in it) if there
is a mouse click outside it, on the preview, or options tabs. I managed
to make focus leave it by trying to change scan mode.



=====
ing. Andrei Boros
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com