Bug 247634 - keyboard cursor key pan/zoom non functional
Summary: keyboard cursor key pan/zoom non functional
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (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-08-13 12:50 UTC by Peter Milne
Modified: 2010-11-12 10:42 UTC (History)
1 user (show)

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 Peter Milne 2010-08-13 12:50:45 UTC
Version:           2.0.0 (using Devel) 
OS:                MS Windows

Keyboard cursor keys are useful for exploring plotted waveforms.
Consistent behaviours from 1.8.x is
LEFT=PAN-LEFT, RIGHT=PAN-RIGHT, UP=PAN-UP, DOWN=PAN-DOWN
SHIFT_LEFT=X-ZOOM-IN, SHIFT_RIGHT=X-ZOOM-OUT
SHIFT_UP=Y_ZOOM-OUT, SHIFT_DOWN=Y_ZOOM-IN

On kst 2.0 on Linux, the cursor key behaviour seems to work most of the time, but sometimes the keys are ignored. On Linux, behaviour can be recovered by saving state, quitting Kst, restart and reload state.

In both MS-Win and Linux, when the function is not working, a horizontal guidline appears - this doesn't appear to have any functionality.


Reproducible: Always

Steps to Reproduce:
MS-Win : plot a window, attempt to use keyboard cursor keys to PAN/ZOOM
Comment 1 Peter Kümmel 2010-08-30 15:02:35 UTC
Peter Milne's message on the list:

Something that I've noticed appears to be in all versions of Kst 2.0, 
but haven't been able to pin down:

A feature that is very useful is the cursor key PAN/ZOOM capability:
LEFT=PAN LEFT, RIGHT=PAN RIGHT,
SHIFT LEFT=X ZOOM IN, SHIFT RIGHT=X ZOOM OUT.
This works well for examining large data sets - pan at low zoom, zoom in 
to region of interest, zoom out, pan again.

However, in my experience, the feature works some but not all the time 
under Linux, and never works under Windows. It could be that I'm not 
driving it correctly, but don't recall having any problem at all in 
(Linux) Kst 1.8.

While testing for this message, in one session of Kst (Linux), one View 
tab had working cursor keys, while another didn't. However, after saving 
state, quitting Kst, re-run Kst, reload state, all the Views work .. 
that is a reasonable work-around on Linux, but doesn't help on Win. On 
Win, the only way to work is: right-click, zoom maximum, rubber-band 
area of interest and zoom in - all very usable of course, but near 
impossible to pan through zoomed data.

Another issue (cosmetic, but may be related) is displayed cursor state.
We start off with a cross hair.
PAN LEFT, PAN RIGHT : still a cross-hair : good
UP, DOWN : vertical axis pan : good

SHIFT LEFT : cursor changes to "Up Down Arrow", a horizontal guide line 
appears, but the ZOOM IN function still works.
Wrong Cursor!.
When the mouse pointer leaves the window, and returns, then we are back 
to the cross hair.

SHIFT UP / SHIFT DOWN : cursor changes to "Up Down Arrow", and the 
vertical range changes - Good.

To be consistent, the cursor should change to "Left Right Arrow" when 
the X ZOOM IN, X ZOOM OUT functions are active. The cursor should reset 
to "Cross Hair" when any of the PAN functions (no-shift L,R,U,D) are 
invoked.


Did anyone else see this?.
Is it a known feature?
Would two bug reports be helpful?

#1 Pan/Zoom feature broken (functional)
#2 Pointer shape change inconsistent (cosmetic).


-- Peter Milne Peter.Milne@d-tacq.com D-TACQ Solutions Ltd www.d-tacq.com _______________________________________________ Kst mailing list Kst@kde.org https://mail.kde.org/mailman/listinfo/kst
Comment 2 Peter Kümmel 2010-08-30 15:14:46 UTC
SVN commit 1169987 by kuemmel:

This Qt bug breaks a lot, especially on new tabs.

CCBUG: 247634

 M  +1 -0      plotrenderitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1169987
Comment 3 Peter Kümmel 2010-09-02 17:18:51 UTC
SVN commit 1171060 by kuemmel:

add workaround for Qt bug 
http://bugreports.qt.nokia.com/browse/QTBUG-8188

CCBUG:249253
CCBUG:247634


 M  +12 -2     plotrenderitem.cpp  
 M  +3 -3      view.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1171060
Comment 4 Peter Milne 2010-09-02 19:14:33 UTC
Hi Peter

kst 2.0.1 works well here, on MS-Windows.
Latest Linux from SVN good too.

Thanks!


Peter


On 09/02/2010 09:08 AM, Peter Kümmel  wrote:
> https://bugs.kde.org/show_bug.cgi?id=247634
>
>
> Peter Kümmel<syntheticpp@gmx.net>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>           Resolution|                            |FIXED
>
>
>
>
Comment 5 Peter Kümmel 2010-11-12 10:42:37 UTC
These bugs are solved with 2.0.0