View Issue Details

IDProjectCategoryView StatusLast Update
0003190NoesisGUIStudiopublic2024-04-03 05:59
Reporterdstewart Assigned Tojsantos  
PriorityhighSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003190: Setting a Gauge Spacing Value of '0' Crashes Studio.
Description

Setting the 'Spacing' value of a Gauge crashes Studio.

Dump attached.

EDIT: This bug is quite serious in that it has the ability to corrupt AutoSaves/Backups, resulting in not being able to open up the project at all without purging the NoesisStudio backups found in \AppData\Roaming\NoesisStudio\Backups

Steps To Reproduce

Repro Steps:

1) Create a new Page
2) Add a RadialTicks Gauge to the Page.
3) In the 'Spacing' value of the Gauge Element, set it to '0'

Observe Studio crashing.

Expected Results: Values of 0 are gracefully accepted (with no visual result, similar to not setting a no-value Background).

Attached Files
20240319_105924.dmp (136,702 bytes)
PlatformAny

Activities

dfranjic

dfranjic

2024-03-25 14:44

developer   ~0009339

The issue is in the implementation of the Radial Ticks control. Setting the spacing to 0 creates an infinite loop in the code.

RadialTicks.cpp @ L164: for (float i = minimum; i <= maximum; i += spacing)
Variable "i" never gets increased thus the loop is never exited.

Issue History

Date Modified Username Field Change
2024-03-19 16:02 dstewart New Issue
2024-03-19 16:02 dstewart File Added: 20240319_105924.dmp
2024-03-19 16:08 dstewart Priority normal => high
2024-03-19 16:08 dstewart Description Updated
2024-03-19 16:08 dstewart Description Updated
2024-03-25 14:42 dfranjic Assigned To => jsantos
2024-03-25 14:42 dfranjic Status new => assigned
2024-03-25 14:44 dfranjic Note Added: 0009339
2024-03-25 22:48 jsantos Target Version => Studio_Alpha
2024-04-03 05:59 jsantos Status assigned => resolved
2024-04-03 05:59 jsantos Resolution open => fixed