Bug 152616 - Scalars selected from list for plot ranges not properly escaped
Summary: Scalars selected from list for plot ranges not properly escaped
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.5.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-20 23:14 UTC by D. V. Wiebe
Modified: 2007-11-22 01:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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