Version: 1.3.0_devel (using KDE 3.4.0, compiled sources) Compiler: gcc version 3.4.3 OS: SunOS (sun4u) release 5.8 In my setup (today's svn), legends exhibit drawing artefacts in the area between text and border. The rectangle around the text has the solid background color, but it seems is does not extend far enough to reach the border. I will attach a screenshot to make it clearer. As soon as another window or a menu covers the legend, it leaves traces behind. And if grids are used, they can be seen in the interval as well.
Created attachment 15479 [details] Example
I'm unable to reproduce this. Nicolas, would you mind checking this is still a problem with the latest version of the code. Thanks.
Well, I can't reproduce it. It must have been fixed somehow, I'll close the bug for now.
Well, actually it seems the problem appears when loading "old" kst files with a newer kst version. I'll attach a test case shortly :-)
Created attachment 16399 [details] kst file to use with test.dat just attached to bug #128436 Try to reload the .kst file with kst from svn: the artefacts are visible. This .kst was generated with an older version (1.2.0_devel) of kst. By the way, it would be cool if the "About kst..." dialog showed the svn revision number along with the human-readable one, unless there is a way to find it elsewhere when you don't remember from which of the many extragear copies you have lying around the installed version comes :-)
Created attachment 16400 [details] The way the "new" kst stores the same thing Looking at the .kst files, there are differences indeed. So, basically, this is a lack of upward compatibility...
SVN commit 547320 by arwalker: BUG:124985 In the old kst file the padding was set to 5. The padding should always be zero for this object. M +2 -0 kstviewlegend.cpp --- trunk/extragear/graphics/kst/src/libkstapp/kstviewlegend.cpp #547319:547320 @@ -124,6 +124,8 @@ addCurve(*it); } } + + setPadding(0); }