View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004261 | Expressions | Bug | public | 2020-02-04 14:20 | 2021-02-06 06:30 |
Reporter | openBrain | Assigned To | realthunder | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Target Version | 0.20 | ||||
Summary | 0004261: Bad behavior when using '°' unit in expressions | ||||
Description | Using the sign '°' to denote degrees in expressions causes expression engine malfunction. | ||||
Steps To Reproduce | - Create a new document, select PartDesign WB - Add a sketch (you can just let it empty) - Create a DatumPlane (locate it at any position) - Try to enter as expression for DatumPlane/AttachmentOffset/Angle the following :'90°-atan(Sk' => You'll notice first that 'Sketch' is only proposed when you enter the 'k', then that if you select 'Sketch' proposal with down arrow, it is replaced by 'SSketch' in the expression (doubled 'S') If you use 'deg' instead of '°' in the expression, the 2 issues described aren't present : 'Sketch' is proposed as soon as 'S' is entered, and it is correctly entered in the expressions if you select the proposal with down arrow. | ||||
Additional Information | I have no evidence but I'm afraid this issue causes more severe damages to the expression engine when a document is loaded. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | OS: Windows 7 SP 1 (6.1) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.19461 (Git) Build type: Release Branch: master Hash: da71719896847b0e2a5716e7afb5d4cb4b326990 Python version: 3.6.8 Qt version: 5.12.1 Coin version: 4.0.0a OCC version: 7.3.0 Locale: French/France (fr_FR) | ||||
|
Forum thread: Bad behavior when using '°' unit in expressions |
|
Will be solved by this PR. See here. |
|
This ticket has been migrated to GitHub as issue 6027. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-02-04 14:20 | openBrain | New Issue | |
2020-02-04 14:21 | openBrain | Steps to Reproduce Updated | |
2020-02-04 14:22 | openBrain | Status | new => confirmed |
2020-02-16 19:40 | vocx | Note Added: 0014159 | |
2020-02-27 04:09 | realthunder | Note Added: 0014185 | |
2020-02-27 18:09 | Kunda1 | Assigned To | => realthunder |
2020-02-27 18:09 | Kunda1 | Status | confirmed => assigned |
2021-02-06 06:30 | abdullah | Target Version | => 0.20 |