[sane-devel] XSane tweaks settings by its own :-(

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 8 Jun 2004 12:22:32 +0200


Hi,

On Tue, Jun 08, 2004 at 12:15:54PM +0200, Gerhard Jaeger wrote:
> I'm currenlty trying to add more frontend configurable options to the Plustek
> backend and have some problems with xsane now.
> There's a value whose range is from -1..63. At the default state, when
> starting xsane, it is properly displayed: -1.
> When changing once to i.e. 6 and changing it back to -1, xsane stores
> it as 0 and also displays it after the next startup as 0..
> Bug or feature? What is wrong. The type of this option is SANE_TYPE_INT,
> the contraint_type is SANE_CONTRAINT_RANGE...
> The configfile of xsane shows, that this value is stored as 0 and not as -1...

How does the definition of the constraint look like?

Bye,
  Henning