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
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;
Change version to 1.x