View Issue Details

IDProjectCategoryView StatusLast Update
0003813NoesisGUIStudiopublic2024-11-21 02:14
Reporterdstewart Assigned Todfranjic  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0003813: ListBox Item Visual States Have Their Names Reset and Lose Sync Between XAML And Studio
DescriptionCurrently, if you create a custom VisualStateGroup containing custom VisualStates on the TextBlock of a ListBoxItem Template, upon exiting and re-entering the Template, the VisualStates will all have their names reverted to 'VisualState0' in Studio, even if in the XAML they are correctly named according to the custom name.

From an initial investigation, this appears to occur within DataTemplates. This issue does not occur in many other Element Templates.

Issue found, and consistently reproduced in 0.0.163.
Steps To ReproduceRepro Steps:

1) Create a Page
2) Introduce a ListBox Element to the Page
3) Right-Click on the ListBox, and under 'Templates', then 'Item', select 'Create Template'. This will open the Template in an isolated view.
4) Still remaining within the ListBox Item Template, navigate to the Animation Function Panel, and create a new VisualStateGroup of name "MyVisualStateGroup".
5) Within the "MyVisualStateGroup" VisualStateGroup, create two visual states: one named "MyFirstState", and the other named "MySecondState".
6) Exit the Template and return to the Page.

7) Right-Click on the ListBox, and under 'Templates', then 'Item', select 'Edit Template'. This will open the Template in an isolated view.
8) Still remaining within the ListBox Item Template, navigate to the Animation Function Panel.

Observe that "MyVisualStateGroup" has been renamed to "VisualStateGroup0"
Observe that "MyFirstState" and "MySecondState" have both been renamed to "VisualState0".

Expected Result: Named VisualStateGroups and VisualStates do not have their names erased upon exiting a Template in which they appear.
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-11-20 14:37 dstewart New Issue
2024-11-20 14:39 dfranjic Assigned To => dfranjic
2024-11-20 14:39 dfranjic Status new => assigned
2024-11-20 14:40 dstewart Description Updated
2024-11-20 14:50 dstewart Description Updated
2024-11-20 15:00 jsantos Target Version => Studio_Alpha
2024-11-21 02:14 dfranjic Status assigned => resolved
2024-11-21 02:14 dfranjic Resolution open => fixed