Bug 115663 - redisplay after exports to graphics
Summary: redisplay after exports to graphics
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Fedora RPMs Linux
: VHI major
Target Milestone: ---
Assignee: George Staikos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 11:29 UTC by claude mercier
Modified: 2005-11-04 18:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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