View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004669 | NoesisGUI | Studio | public | 2025-12-30 16:26 | 2026-01-05 10:39 |
| Reporter | dstewart | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | feedback | Resolution | open | ||
| Product Version | Studio_Beta | ||||
| Summary | 0004669: Changes To An Element's Brush Not Accounted For In Undo Stack If Set From Behavior | ||||
| Description | Currently, when applying a BackgroundEffect Behavior to an Element, as part of the process, the VisualBrush of the Element will change. However, this change to the Element's Property is not seemingly registered as part of the Undo/Redo stack. What this results in, in consequence; is that if you have a certain colour set on an Element's 'Fill' Property, when you apply a BackgroundEffect Behavior, this colour will no longer be recoverable even if in the Undo history, you revert back to a point in time prior to the BackgroundEffect being applied. Video Attached. Repro Steps: 1) Create a folder in which the Studio Project will live, and place any image asset into this directory. 3) Create a MainPage.xaml, and place the prepared Image into the RootGrid of MainPage.xaml. Give this Element a custom name of 'BackgroundImage' (required). 4) Introduce an Ellipse Shape into the RootGrid, set it to 512x512, and ensure that at least a portion of the Ellipse Shape is covering the Image. 5) Select the Ellipse Shape, and navigate to the Interactivity/Behaviors tab. 6) Take a mental note that prior to the next step, the Fill Property of the Ellipse is #FFF4F4F5. 7) With the Ellipse Shape still selected, from the Interactivity/Behaviors, add to it a new BackgroundEffect Behavior 8) Select the newly-created BackgroundEffect Behavior, and in its Properties Panel, hover over the 'Source' Property, click on its 3-Dot Menu, and select 'Create Binding'. 9) Select the 'Name' tab, under the 'Element Name' Property, select 'BackgroundImage'. Then, completely clear the 'Path' field of content. 10) From the 'Effect' Property of the Behavior, select 'BlurEffect', and give it a 'Radius' of '128'. The BackgroundImage on Stage should now blur directly under the area of the Ellipse Shape. 11) Select the Ellipse Shape from the Navigator, and inspect its 'Fill' Property. Observe how this 'Fill' Property no longer shows the #FFF4F4F5 value observed in Step 6). (This is normal/expected) 12) Repeatedly hit Ctrl+Z to go back to a point in time where the #FFF4F4F5 is recovered. Observe how the #FFF4F4F5 'Fill' Property is unrecoverable. Expected Results: Changes to Element Properties are recorded in the Undo/Redo stack. | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
This will be hard to fix, because Studio is not aware of those changes, it is something that BackgroundEffectBehavior does internally. The only solution I can think of is that any change stores the whole state of the element, which is a bit overkill. I will talk to Dario to see what options do we have. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-12-30 16:26 | dstewart | New Issue | |
| 2025-12-30 16:26 | dstewart | File Added: 2025-12-30 10-21-47_Compressed.mp4 | |
| 2025-12-30 16:26 | dstewart | Summary | Changes To An Element's Brush Not Accounted For In Undo/Redo Stack If Set From Behavior => Changes To An Element's Brush Not Accounted For In Undo Stack If Set From Behavior |
| 2026-01-05 10:39 | sfernandez | Assigned To | => sfernandez |
| 2026-01-05 10:39 | sfernandez | Status | new => feedback |
| 2026-01-05 10:39 | sfernandez | Note Added: 0011677 |