Bug 236678 - y-local maximum zoom broken with shared axis box
Summary: y-local maximum zoom broken with shared axis box
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.0
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: 2.0.0
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 12:12 UTC by Nicolas Brisset
Modified: 2010-11-12 10:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2010-05-07 12:12:54 UTC
Version:           2.0.0_devel (using unspecified)
Compiler:          mingw delivered with Qt SDK 4.6.2
OS:                Windows 32-Bit

Feedback from real-world usage of kst2 beta5...
When using a shared axis box, the y-local zoom function does not work.

To reproduce:
- load columns 1 and 2 from gyrodata.dat, each in one plot
- x-zoom in on the samples 50000 to 100000
- Hit Shift+L on the bottom curve, or call the corresponding zoom menu: nothing helps (with or without tied zoom)

Expected result: the bottom plot is y-fitted to the visible portion of the curve

This is a specific bug, but generally speaking I have the feeling that the shared axis box (cool new feature, by the way) is not yet rock-solid. I have for example been able to reach a state where I have absolutely no zoom context menu (after breaking the shared axis box)!
It should probably be tested extensively before the next release or 2.0.0 final.
Comment 1 Nicolas Brisset 2010-05-07 12:16:01 UTC
In fact, I'm not even sure it works at all, even without a shared axis box. I have just started a fresh session, loaded the 2 curves, activated tied zoom and zoomed in on the portion before the y peaks in column 2, and I can't manage to get y-local zoom maximum to work either. It does something, but it is not correct (looks like only the bottom limit is correctly computed).
Comment 2 Peter Kümmel 2010-05-27 17:36:46 UTC
SVN commit 1131193 by kuemmel:

Init min/max variables before searching for the min/max values.

CCBUG: 236678 

 M  +4 -3      plotitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1131193
Comment 3 Peter Kümmel 2010-05-27 17:41:26 UTC
I think the single-plot maximum zooming is fixed now, but how could I reproduce the shared axis behavior?
Comment 4 Peter Kümmel 2010-05-27 17:49:03 UTC
OK, found the shared axis feature, but it looks like this bug has no relations to shared axis.
Comment 5 Peter Kümmel 2010-08-14 12:14:53 UTC
Change version from 2.0.0_devel to 2.0.0 to simplify version numbering.
Comment 6 Peter Kümmel 2010-11-12 10:42:34 UTC
These bugs are solved with 2.0.0