Bug 115663

Summary: redisplay after exports to graphics
Product: [Applications] kst Reporter: claude mercier <claude.mercier>
Component: generalAssignee: George Staikos <staikos>
Status: RESOLVED FIXED    
Severity: major CC: kst
Priority: VHI    
Version: 1.x   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description claude mercier 2005-11-04 11:29:07 UTC
Version:           trunk (using KDE KDE 3.4.3KDE 1.2)
Installed from:    Fedora RPMsFedora RPMs
OS:                Linux

make export to graphics, the redisplay is not done after it,
Comment 1 George Staikos 2005-11-04 17:52:59 UTC
Wow nice find!
Comment 2 George Staikos 2005-11-04 18:32:03 UTC
SVN commit 477676 by staikos:

update the clip rects after drawing a graphic.  Yuck.  There's no reason the
graphics export code should kill the cache for the display code and force a
redraw.  We need to fix the whole export/print mechanism.
BUG: 115663


 M  +1 -0      kstviewobject.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #477675:477676
@@ -554,6 +554,7 @@
 
 void KstViewObject::parentRevertedForPrint() {
   _geom = _geomOld;
+  _clipMask = QRegion();
   for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
     (*i)->parentRevertedForPrint();
   }