Bug 83175 - Crashes when using zooming/scrolling shortcuts with mouse in label mode
Summary: Crashes when using zooming/scrolling shortcuts with mouse in label mode
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 21:11 UTC by Rick Chern
Modified: 2004-06-10 22: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-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. :-)