View Issue Details

IDProjectCategoryView StatusLast Update
0003099NoesisGUIStudiopublic2024-03-04 17:59
Reporterdfranjic Assigned Todfranjic  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003099: Frozen/sealed non-local values appear local after user opens the property editor
Description

Values get cloned ("unsealed") when user opens the property editor of a complex object which is frozen/sealed. The cloned value gets set as local value. This is because Studio prepares the value for editing so that the changes to the value are visible in the real time in the viewport.

Steps To Reproduce
  1. Create an empty page
  2. Add a button to the page
  3. Select the button
  4. Open the "Background" property editor (the brush popup)
  5. Close the popup
  6. Deselect the button
  7. Select the button
  8. Observe how the "Background" property is in blue color even though "Background" wasn't changed
PlatformAny

Activities

dfranjic

dfranjic

2024-03-04 17:59

developer   ~0009267

Fixed by memorizing the state of the property (is it local value, expression, etc..) when unsealing, and returning the memorized state when calling SetIsExpanded(false). It also clears the memorized state (without returning the memorized state) when setting the value and when refreshing the property value.

Issue History

Date Modified Username Field Change
2024-02-19 23:04 dfranjic New Issue
2024-02-19 23:04 dfranjic Product Version => Studio_Alpha
2024-02-19 23:04 dfranjic Target Version => Studio_Alpha
2024-02-19 23:04 dfranjic Assigned To => dfranjic
2024-02-19 23:04 dfranjic Status new => assigned
2024-03-04 17:59 dfranjic Status assigned => resolved
2024-03-04 17:59 dfranjic Resolution open => fixed
2024-03-04 17:59 dfranjic Note Added: 0009267