Bug SS-2312
1 vote

Crash by math strings after DoubleClick

Created by Davide on 4/11/2016 1:07 AM Last Updated by smath on 4/12/2016 2:17 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

1) Have a math string

2) click select it

3) click a button in the palette (parenthesis, sqrt, sin, ecc)

---> A critical error occours in the region, SMath crashes

    smath (Tuesday, April 12, 2016 2:17 PM) #

Fixed.

    smath (Tuesday, April 12, 2016 11:34 AM) #

Thank you, Davide!

Now I'm able to reproduce described issue on previous stable SMath Studio release (0.97.5890), but not the same in the latest one (0.98).

In 0.98 this issue looks different: no crashing, but incorrect behavior - "(" inserted istead of selected math text. Will handle it.

UPDATE: I was wrong, 0.98 is also crashing. This is my current code which is not crashing (because I already have some updates made after last 0.98 release).

    Davide (Monday, April 11, 2016 7:04 PM) #

Hello Andrey,

I think my first diagnosis was wrong, I've not payed attention on the way to select the string... The issue seems is triggered by doubleclick on the string and is not strictly related with the palette

f.e. type: 1+"test"

then double-click on "test", once it is selected, try to open a parenthesis from the keyboard or from the palette;

 

http://screencast-o-matic.com/watch/cDfXDh1AaB

    smath (Monday, April 11, 2016 3:05 PM) #

Davide, cannot reproduce.

Questions:

  1. Have a math string
    What math string did you test?
  2. click select it
    Does it mean I should use Select All menu item?

Thanks in advance!