Andre Poenitz wrote:
> 
> On Wed, Feb 05, 2003 at 01:29:26PM +0100, Helge Hafting wrote:
> > I tried to print from page 5 to page 10.  When I type "10" into the
> > to-field, the "5" gets reset to "1" in the from-field.
> 
> Do I smell a 'clever' feature?

Clever and wrong :-(

It is _impossible_ to enter a invalid interval
such as pages from 23 to 13. Seems clever until:
1) It says from 10 to 20, and I want to change that to
   from 40 to 50.  But I can't type "40" instead of "10"
   in "from:" because the "20" in "to:" is holding me back.
   The interval can't be invalid temporarily!

2) Worse, what I hit:
   Type "5" into "from:" ("to:" is still empty)
   Now type "10" into "to:"  Note that between the "1" and the "0"
   making up "10", the "to:" field has a "1" only.
   And because "from:5 to:1" is illegal, the "from:" field is
   reset to "1" to make it valid although I haven't finished
   typing in the "to" field.

This is hopeless and cannot possibly have been tested even with
a simple interval.
My suggestion is to not do any autocorrection, just
disable the print button while the dialog contents are
(temporarily) invalid.  
Or even easier - rip out the validation and let users
get what they deserve when printing from 90 to 80.

I'll happily test either approach.

Helge Hafting

Reply via email to