Bug 152951

Summary: Edit Multiple screws up display of markers
Product: [Applications] kst Reporter: D. V. Wiebe <dvw>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description D. V. Wiebe 2007-11-26 20:54:41 UTC
Version:           1.5.0 (using KDE KDE 3.5.8)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

As a side-effect of using the Edit Multiple mode of the Edit Plot dialogue, any markers defined for the updated plots are removed from the display when the plot is updated.  Additionally, the markers' line style is reset to the default (solid) line style.  The markers are still defined, so opening the Edit Plot dialogue and hitting "OK" will cause them to re-appear.

Steps to reproduce:

1.  Create a plot
2.  Right click -> Edit... -> Markers tab -> Add a marker to the plot
3.  Modify the marker's line style to something other than the default
4.  "OK" (a marker is added to the plot)
5.  Right click -> Edit... -> Edit Multiple >> Select the plot from the list
6.  While in edit multiple mode, modify the plot (say, X Axis -> Show major lines)
7.  "OK"

Result:

  Changes made during Edit Multiple will be made, but the marker will be removed from the plot.  This can be fixed by:

8. Right click -> Edit...
9. "OK"

Result:

  The marker re-appears, but with the default line style.

Expected result:

  Displaying of the markers should be unaffected by the changes made to the plots during "Edit Multiple".
Comment 1 Andrew Walker 2007-11-26 23:13:46 UTC
SVN commit 742006 by arwalker:

BUG:152951 Correctly handle marker properties during an edit multiple operation

 M  +9 -7      kst2dplotwidget_i.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=742006