Bug 117771 - Tie Box 'current plot' indicator don't get cleared
Summary: Tie Box 'current plot' indicator don't get cleared
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 03:26 UTC by Netterfield
Modified: 2005-12-06 06:59 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 Netterfield 2005-12-06 03:26:58 UTC
Version:           1.2.0_devel (using KDE 3.4.3, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (x86_64) release 2.6.12-gentoo-r6

Create a window with several plots.

In XY zoom mode move between them... The tie box dark center 'current plot' indicator gets filled in when you enter, but not cleared when you enter the next plot.

it should get filled in on plot entry, and cleared either on plot exit, or on entry to the next plot.
Comment 1 George Staikos 2005-12-06 06:59:43 UTC
SVN commit 485929 by staikos:

A relic of the KstPainter conversion
BUG: 117771


 M  +1 -1      kst2dplot.cpp  
 M  +1 -1      kst2dplot.h  


--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #485928:485929
@@ -3348,7 +3348,7 @@
 }
 
 
-void Kst2DPlot::removeFocus(QPainter& p) {
+void Kst2DPlot::removeFocus(KstPainter& p) {
   _mouse.tracker = _mouse.lastLocation = QPoint(-1, -1);
   p.setClipRegion(_lastClipRegion);
   setHasFocus(false);
--- trunk/extragear/graphics/kst/kst/kst2dplot.h #485928:485929
@@ -211,7 +211,7 @@
   virtual void keyReleaseEvent(QWidget *view, QKeyEvent *e);
   virtual void wheelEvent(QWidget *view, QWheelEvent *e);
   virtual void setHasFocus(bool hasFocus);
-  virtual void removeFocus(QPainter& p);
+  virtual void removeFocus(KstPainter& p);
 
   void cancelZoom(QWidget *view);
   void zoomSelfYLocalMax(bool unused);