[Kst] Update on new painting code

George Staikos staikos at kde.org
Sun Jan 29 17:30:16 CET 2006

The new painting code is coming along quite nicely and I think it could be 
rolled into trunk today, presuming I get positive feedback.  Labels need some 
work, and printing is relatively untested, but in general it's quite good.  I 
think the last issues can be worked out quite quickly.

There is a minor buglet in bordered view objects that causes the bottom and 
right borders to be truncated by 1 pixel.  Also, an old unfixed bug is that 
pictures with transparency don't update the transparent regions properly.  
I'm willing to ship 1.3 with these problems and fix them in 1.3.1.

One thing I would like to point out is that the biggest cause for the long 
implementation time, besides trying to get something that works cleanly for 
all objects, is the systematic abuse of the API and properties of view 
objects.  There were very many hacks inside many of the objects, some of 
which remain, which completely break down when changes are made in base 
classes.  It is critical that we keep these objects clean going forward to 
avoid wasting so much time constantly re-fixing things.  If there are design 
issues that prevent implementation of a certain property of an object, we 
should discuss on the list and fix the design, not hack around it.

Any comments?  Should we fold this code into trunk once the label object is 
fixed, and fix any remaining printing issues then?

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

More information about the Kst mailing list