Discussion:
[Kst] [kst] [Bug 346547] New: Kst crashes when typing the square bracket [] characters
Ben Lewis
2015-04-24 10:16:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=346547

Bug ID: 346547
Summary: Kst crashes when typing the square bracket []
characters
Product: kst
Version: 2.0.8
Platform: Compiled Sources
OS: MS Windows
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: ***@kde.org
Reporter: ***@gmail.com

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.
--
You are receiving this mail because:
You are the assignee for the bug.
Ben Lewis
2015-04-24 10:16:31 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=346547

Ben Lewis <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
Christoph Feck
2015-04-25 09:29:31 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=346547

Christoph Feck <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |crash
--
You are receiving this mail because:
You are the assignee for the bug.
via KDE Bugzilla
2016-02-24 23:02:38 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=346547

***@astro.utoronto.ca changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |***@astro.utoronto.
| |ca
Status|UNCONFIRMED |CONFIRMED
--
You are receiving this mail because:
You are the assignee for the bug.
via KDE Bugzilla
2016-02-25 02:00:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=346547

***@astro.utoronto.ca changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|CONFIRMED |RESOLVED
Latest Commit| |http://commits.kde.org/kst-
| |plot/e3df7295b67ab1c35f6d3f
| |76fe3d64fe48f21d7a

--- Comment #1 from ***@astro.utoronto.ca ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...