Bug 152616

Summary: Scalars selected from list for plot ranges not properly escaped
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-20 23:14:21 UTC
Version:           1.5.0 (using KDE KDE 3.5.8)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

Scalars selected from the drop-down list of scalars next to the "From:" and "To:" Expression text boxes in the Range tab of the Edit Plot dialog aren't properly escaped when they're pasted into the text box.

Ie. selecting a scalar, say, INDEX/Max from the drop-down list will result in "INDEX/Max" being pasted into the text box.  This will result in an error when kst tries to parse the expression.

What should be pasted into the box is "[INDEX/Max]".
Comment 1 Andrew Walker 2007-11-22 01:00:40 UTC
SVN commit 739830 by arwalker:

BUG:152616 correctly escape scalar names used in setting plot axes ranges

 M  +37 -4     kst2dplotwidget_i.cpp  
 M  +4 -0      kst2dplotwidget_i.h  


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