Summary: | plot is not redrawn to erase menu | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Andrew Walker <arwalker> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.4.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andrew Walker
2008-08-19 01:59:40 UTC
This is a problem because under these circumstances _zoomPaused is et to true in Kst2DPlot::mousePressEvent(...). This is a problem as when the plot is asked to redraw (which it is as a result of the menu closing up) the request is ignored when _zoomPaused is true. Note: _zoomPaused is reset to false, Kst2DPlot::mouseReleaseEvent(...), when the mouse button is subsequently released, but at that point the paint request has already been ignored. Have to punt the setting of _zoomPaused so we do not deliberately ignore a paint request coming from the closing up of a menu. Modified kst2dplot.cpp, kst2dplot.h |