Bug 265408

Summary: kmplot hangs after setting yScaling to negative value
Product: [Applications] kmplot Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: Klaus-Dieter M <kd.moeller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.1
Sentry Crash Report:

Description Alexander Potashev 2011-02-04 15:11:35 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux



Reproducible: Always

Steps to Reproduce:
1. go to View -> Coordinate System
2. under "Vertical axis Grid Spacing", select "Custom" and enter "-1"
3. click Apply, KmPlot hangs



Originally reported at http://www.linux.org.ru/forum/desktop/5871487
Comment 1 Christoph Feck 2014-08-17 22:02:22 UTC
Git commit 073f782f870e36787d0bb49a81e9e0f581955080 by Christoph Feck.
Committed on 17/08/2014 at 21:57.
Pushed by cfeck into branch 'KDE/4.14'.

Validate custom axis grid spacing

- limit spacing when zooming out too far
- increase spacing when zooming in too far
- only use positive spacing values
Related: bug 295006
FIXED-IN: 4.14.1

I have not found yet the conditions for single-pixel
zoom, so keeping this one open:

M  +43   -0    kmplot/view.cpp
M  +9    -0    kmplot/view.h

http://commits.kde.org/kmplot/073f782f870e36787d0bb49a81e9e0f581955080