View Issue Details

IDProjectCategoryView StatusLast Update
0003517NoesisGUIStudiopublic2024-07-30 23:53
Reporterdstewart Assigned Todfranjic  
PrioritynormalSeveritymajor 
Status resolvedResolutionfixed 
Product VersionStudio_Path 
Target VersionStudio_Path 
Summary0003517: Converting a Shape to a Path Breaks The Page If A Resource Was Applied to the Path
Description

Currently if you have a Project-level Resource applied to a Shape, and then you convert that Shape to a Path, the Resources will be lost, and the Page will break.

This appears to be due to what was a DynamicResource in the Shape, being incorrectly converted to a StaticResource as a Path. Because of the Static nature, this means that the Path is unable to fetch the Resource in the GlobalResources dictionary.

Steps To Reproduce

Repro Steps:

1) Create a Page
2) Introduce a Rectangle to the Root Grid
3) Apply a Gradient as a Fill for the Rectangle.
4) Using the 3-Dot menu on the Fill Property in the Properties Panel, select 'Convert to Resource'. This rectangle is now using a Dynamic Resource for the Fill.
5) From either the Stage, or the Navigator, right-click on the Rectangle Shape, and navigate to the 'Path' submenu, then select 'Convert to Path'.

Observe the error indicating that the XAML has broken.
Observe how in the XAML Code, what used to be a functional DynamicResource for the Fill has transformed into a non-functional StaticResource which is unable to find the Gradient in the GlobalResources Dictionary.

Expected Results: Converting from a Shape to a Path doesn't break any Resources, and they are successfully converted over to a valid format in the process.

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-07-17 13:44 dstewart New Issue
2024-07-17 17:49 jsantos Assigned To => dfranjic
2024-07-17 17:49 jsantos Status new => assigned
2024-07-17 17:49 jsantos Target Version => Studio_Path
2024-07-30 23:53 dfranjic Status assigned => resolved
2024-07-30 23:53 dfranjic Resolution open => fixed