Version: 1.2.0_devel (using KDE KDE 3.3.1) Installed from: RedHat RPMs OS: Linux When printing, the lower part of the axes on a window are cut off. Not the whole plot, but just the axes lines and the tick-marks. This seems to occur every time I print something, and regardless of the printer or driver, or printing to file etc. Exporting to a graphics file works as expected.
Created attachment 11688 [details] Postscript of the missing axes printer output A postscript file generated from the print option of kst showing the missing lower region of the axes and tick marks (but with everything else there.
Created attachment 11689 [details] Postscript of the missing axes printer output Postscript generated from kst showing the missing lower (on the window) axes, but the rest is there. Sorry for previous postscript, it was a mistake (from a borked multi-window kst).
SVN commit 436079 by arwalker: BUG:108616 Appears to have been caused by changes to the KstViewObject::clipRegion() function for future transparency support. The old clip region (used for painting) was also being used for the printing due to incorrect caching. M +2 -0 kstviewobject.cpp --- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #436078:436079 @@ -419,6 +419,7 @@ void KstViewObject::resizeForPrint(const QSize& size) { _geomOld = _geom; _geom.setSize(size); + _clipMask = QRegion(); for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) { (*i)->parentResizedForPrint(); } @@ -427,6 +428,7 @@ void KstViewObject::revertForPrint() { _geom = _geomOld; + _clipMask = QRegion(); for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) { (*i)->parentRevertedForPrint(); }