[Kst] [Bug 118148] View Object Printing Bugs
Andrew Walker
arwalker at sumusltd.com
Sun Dec 18 02:19:08 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=118148
arwalker sumusltd com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From arwalker sumusltd com 2005-12-18 02:19 -------
SVN commit 489321 by arwalker:
BUG:118148 no longer draw to the back buffer when printing an autoresize label. It wastes time and messes up the repainting of autoresize labels as the back buffer still holds the text size used when printing.
M +2 -5 kstviewlabel.cpp
--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #489320:489321
@ -164,9 +164,6 @
if (!_parsed) {
reparse();
}
- if (_parsed) {
- drawToBuffer(_parsed);
- }
}
@ -343,14 +340,14 @
}
drawToPainter(_parsed, p);
- //setDirty();
} else {
if (p.type() == KstPainter::P_UPDATE) {
setDirty();
}
if (dirty()) {
if (_autoResize) {
- adjustSizeForText(p.window()); // calls computeTextSize and drawToBuffer
+ adjustSizeForText(p.window());
+ drawToBuffer(_parsed);
} else {
computeTextSize(_parsed);
drawToBuffer(_parsed);
More information about the Kst
mailing list