Bug 83175

Summary: Crashes when using zooming/scrolling shortcuts with mouse in label mode
Product: [Applications] kst Reporter: Rick Chern <rchern>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rick Chern 2004-06-10 21:11:07 UTC
Version:           0.98-devel (using KDE KDE 3.2.1KDE 1.2)
Installed from:    Compiled From SourcesCompiled From Sources
Compiler:          gcc (GCC) 3.3.2 20031022 
OS:                Linux

When zooming with keyboard shortcuts and mouse is in label mode, Kst crashes because of:

kst: kst2dplot.cpp:2466: virtual void Kst2DPlot::keyReleaseEvent(QWidget*, QKeyEvent*): Assertion `newType != INACTIVE && newType != LABEL_TOOL' failed.

How to reproduce:
-start Kst
-create a plot
-switch mouse to label mode
-with mouse over a plot, type M,G, left arrow, right arrow, or any other shortcut for zooming or scrolling.

Expected Behaviour:
Zooming/scrolling should be disabled in label mode, or it should work.
Comment 1 Rick Chern 2004-06-10 21:59:59 UTC
Fixed by George.
Comment 2 George Staikos 2004-06-10 22:08:46 UTC
On June 10, 2004 16:00, Rick Chern wrote:
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED
>
>
>
> ------- Additional Comments From rchern interchange ubc ca  2004-06-10
> 21:59 ------- Fixed by George.

Wow that was quick. :-)  I fixed it without even seeing the report. :-)