Bug 86869 - Zooming out too far is allowed
Summary: Zooming out too far is allowed
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 22:01 UTC by Rick Chern
Modified: 2004-08-10 01:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.