Crashes when typing fullwidth characters in expression-evaluating entry widgets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Inkscape version: latest git revision
OS: Windows 7 and Windows 10. Didn't test other OSes.
Type some fullwidth characters(such as +123) in entry widget with expression-
I have made some study:
In ExpressionEvalu
if string(1st parameter) contains fullwidth characters, after running this constructor ExpressionEvalu
And after that in ExpressionEvalu
This mostly happened when I typed some Chinese text in the document, and I forgot to switch Chinese input method back.
I don't think that ExpressionEvaluator needs to identify fullwidth characters, treating them as invalid characters is OK, but at least it should not crash the program.
Tried on Linux Mint 18.3 with latest master (0.92+devel (193c56f, 2018-02-22)), and used the rectangle corner radius field. The crash doesn't happen for me, it just goes back to 0.