Bug 92857 - zoom rect clipping bug
Summary: zoom rect clipping bug
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 16:27 UTC by George Staikos
Modified: 2010-08-14 14:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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