Bug 92857

Summary: zoom rect clipping bug
Product: [Applications] kst Reporter: George Staikos <staikos>
Component: plottingAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description George Staikos 2004-11-07 16:27:32 UTC
The zoom rect gets clipped in a strange way when zooming on a maximized plot. 
 
Reproduce: 
1) load demo.kst 
2) hit 'z' over the second plot 
3) enter X zoom mode (the left-right arrow) 
4) create a zoom box and notice that the rect is clipped strangely
Comment 1 Andrew Walker 2004-11-07 21:49:11 UTC
CVS commit by arwalker: 

Set _lastClipRegion correctly.

CCMAIL: 92857-done@bugs.kde.org


  M +1 -0      kstviewobject.cpp   1.99


--- kdeextragear-2/kst/kst/kstviewobject.cpp  #1.98:1.99
@@ -199,4 +199,5 @@ void KstViewObject::paint(KstPaintType t
   for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
     if ((*i)->_maximized) {
+      (*i)->_lastClipRegion = (*i)->geometry();
       (*i)->paint(type, p);
       maximized = true;


Comment 2 Peter Kümmel 2010-08-14 14:40:25 UTC
Change version to 1.x