[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Sat Dec 17 00:42:42 CET 2005


On Friday 16 December 2005 18:33, Andrew Walker wrote:
> SVN commit 489051 by arwalker:
>
> CCBUG:118148 Fix problem with transparency not being honoured when printing
>    p.save();
> -  if (p.type() == KstPainter::P_PRINT) {
> +  if (p.type() == KstPainter::P_PRINT ||
> +      p.type() == KstPainter::P_EXPORT) {
>      //p.save();
>      if (_autoResize) {
>        adjustSizeForText(p.window());
> @@ -369,7 +369,9 @@
>      }
>    }
>    p.restore();
> -  KstBorderedViewObject::paint(p, bounds);
> +  if (!_transparent) {
> +    KstBorderedViewObject::paint(p, bounds);
> +  }
>  }

  This second change looks wrong.  It will miss borders, for instance.  The 
real bug appears to be in KstBorderedViewObject if this change has any 
impact.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list