[Kst] Changes to curve points between 2.0.4 and 2.0.5
nicolas.brisset at free.fr
Sun Jun 10 22:23:15 UTC 2012
----- Mail original -----
> De: "David McMinn" <david.mcminn at intelligentwellcontrols.com>
> À: kst at kde.org
> Envoyé: Samedi 9 Juin 2012 23:38:06
> Objet: [Kst] Changes to curve points between 2.0.4 and 2.0.5
> Was there any changes to how points on curves were drawn between
> 2.0.4 and 2.0.5 (on Windows)?
I changed something in that part of the code. See log message below:
r1286206 | brisset | 2012-03-18 18:34:08 +0100 (dim. 18 mars 2012) | 3 lignes
Rework CurveAppearance::enableSettings() to make sure it does what we want. Previously the point density widget was not always enabled when we needed it.
When using points only, density is forced to "All", I think we had already discussed that and decided something else does not make sense.
> I ask because in 2.0.4 when the "Lines" option in the appearance for
> a curve was unchecked then the "Weight" option was still available and
> would control the overall size of the point as well as the line
> In 2.0.5 when the "Lines" option is unchecked then the "Weight"
> option is not available (and neither is the colour). If I temporarily enable
> lines and then adjust the weight then turn off the lines the point
> will be drawn with the new weight but the overall size of the point cannot
> be controlled.
> Has anyone else seen this or is there another way to control curve
> point sizes in 2.0.5?
OK, I have just tried it and I get your point. Since we currently use width and color both for the line and the point, it is a bit awkward.
I have a small local patch which changes this behavior and leaves the color and width controls active all the time. But before committing this, I'd like some feedback on the following questions:
- is it OK if the color and width controls active all the time (even when nothing is drawn)
- I think there has never been a way in Kst 2.x to define the point size independently from the width (same for line and point). I understand you'd like to have an option to set point size independently, is that right? Currently is is computed automatically and should be OK. Are there cases where it's not working properly?
- similarly, there is currently no way to define a different color for points than for curves. Should we consider changing that and making it possible to use different colors for points and lines?
Thanks for the feedback,
More information about the Kst