Bug 117771

Summary: Tie Box 'current plot' indicator don't get cleared
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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);