Bug 86869

Summary: Zooming out too far is allowed
Product: [Applications] kst Reporter: Rick Chern <rchern>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rick Chern 2004-08-09 22:01:05 UTC
Version:           0.99-devel (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.2 20031022  
OS:                Linux

Zooming out to a minimum or maximum limit of infinity is allowed.

How to reproduce:
- start kst
- create a plot with our without items in it
- change to log X axis mode
- hold down shift and move mouse wheel down to zoom out a few times

Eventually the x axis labels will disappear, and opening the Axes tab of the plot dialog shows an upper limit of inf.  
Zooming in is then not possible until the limits are manually changed.  Zooming in subsequently causes the lower/upper limits to change to some combination of NAN and INF.

This also happens in non-log mode, but takes longer to reproduce.
In addition, entering a very large number for the limits in the plot dialog has the same effect.
Comment 1 Andrew Walker 2004-08-10 01:08:39 UTC
Limit the min and max range values to be within the range of a double.