View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005106 | NoesisGUI | Studio | public | 2026-06-30 17:13 | 2026-06-30 17:13 |
| Reporter | dstewart | Assigned To | |||
| Priority | normal | Severity | major | ||
| Status | new | Resolution | open | ||
| Product Version | Studio_Beta | ||||
| Summary | 0005106: GoToStateActions Applied To A Page's Triggers Fail To Display On Play | ||||
| Description | Currently, there exists an issue where if a GoToStateAction is applied as a Trigger to a Page, it does not display the designated VisualState when the condition is met. See attached video. Repro Steps 1) Create a Studio Project featuring a MainPage.xaml, and introduce a StackPanel to it, containing two Button Elements. Change the Text of each Button's 'Content' to make them distinguishable. 2) Navigate to the Animation/VisualStates Panel, and create a new VisualStateGroup featuring two VisualStates. 3) Configure the VisualStates so that in 'VisualState1', Button1 is visible, and Button2 is hidden, and in 'VisualState2', Button2 is visible, and Button1 is hidden. 4) Click between the two VisualStates to verify that the display of each Button toggles their visibility, as expected. 5) Navigate to the Interactions/Triggers Tab, and select the Page in the Navigator, then create a new EventTrigger. 6) Configure the Event Trigger with a Source of 'Self', and an Event of 'Loaded'. 7) Create a new Action for the Trigger, and create as a 'GoToStateAction', with a Target of 'Self', and a State of 'VisualState1'. 8) Press 'Play' on the Page. 9) Remove the Trigger from the Page, and instead place it on either of the Buttons, with the Trigger configured identically otherwise, then Play the Page. 10) Remove the Trigger from the Button, select the Page again, and create a new Event Trigger for it. 11) Set the Trigger to be of Source 'Self', Event 'Loaded'. 12) Create a new Action for the Trigger of type 'ChangePropertyAction', Target of 'Self', PropertyName of 'Background', and with any new 'Value' of your choice. 13) Play the Page. Expected Results: A Page should be able to have GoToStateAction Actions applied to its Triggers, and it should be able to display the correct VisualState. | ||||
| Attached Files | |||||
| Platform | Any | ||||