| Summary: | Legend drawing artefacts between text and border | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Example
kst file to use with test.dat just attached to bug #128436 The way the "new" kst stores the same thing |
||
|
Description
Nicolas Brisset
2006-04-05 17:33:14 UTC
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);
}
|