| Summary: | Lower part of axes are cut off during printing. | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Matthew Truch <matt> |
| Component: | general | Assignee: | Andrew Walker <arwalker> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Postscript of the missing axes printer output
Postscript of the missing axes printer output |
||
|
Description
Matthew Truch
2005-07-06 00:57:56 UTC
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();
}
|