Kst crashes when typing the square bracket characters into any text box that supports the display of scalars, e.g. a label or axis label. Examples of strings that cause a crash are: [] \[\] \[V\] Voltage \[V\] Reproducible: Always Steps to Reproduce: 1.Start a new Kst session 2.Create a vector with 10 samples from 0..9. Create > Vector > Generate > OK 3.Create a curve with the generated vector as both the x and y axis vectors. Create > Curve > Place in New Plot > Ok 4. Save the Kst session, close and reopen the file. This step is important. It does not crash unless this step is done. 5. Edit the bottom axis of the plot. Right click on plot > Edit > Labels > Untick bottom label "Auto" 6. Enter the following characters "[]" 7. Crash Actual Results: Crash Expected Results: No crash As a work around the required characters can be pasted into the text box. e.g. pasting "\[V\]" does not cause a crash but typing it will.
Git commit e3df7295b67ab1c35f6d3f76fe3d64fe48f21d7a by Barth Netterfield. Committed on 25/02/2016 at 01:41. Pushed by netterfield into branch 'master'. Crashing is bad. Don't. M +3 -0 src/widgets/cclineedit.cpp http://commits.kde.org/kst-plot/e3df7295b67ab1c35f6d3f76fe3d64fe48f21d7a