View Issue Details

IDProjectCategoryView StatusLast Update
0003487NoesisGUIStudiopublic2025-04-02 11:08
Reporterdstewart Assigned To 
PrioritynormalSeverityminor 
Status newResolutionopen 
Product VersionStudio_Alpha 
Target VersionStudio_Beta 
Summary0003487: Pre-Baked Path Style Properties Prevent Newly-Applied Style from Displaying Properly
Description

When bringing new elements into a Page, they usually come pre-populated with some default values to make them visible and functional.
(For example, a Button has a Grey Background by default).

When a Style is applied to elements containing properties, as long as the Properties have not been locally-modified, the Style properties will replace the default properties.

So in the case of the Button, if a Button Style contains a Red Background property, applying the Style to a newly-introduced button will instantly make the Background red.

These same rules however do not seem to apply to a Path to which a Style has been applied, and requires the user to first 'Clear Local Values' for the Properties they wish to have taken on the Style's values.

Steps To Reproduce

Repro Steps:

1) Create a Page
2) Introduce a Button to the Page (dragging from the Add Elements Panel to the Stage or Navigator)
3) Right-Click on the Button, and from the context menu, select 'Style'->'Button'->'Create'. This will enter its Style editor.
4) Within the Button's Style editor, change the background colour to Red.
5) Exit the Button's Style editor.

6) Introduce a new Button to the page (dragging from the Add Elements Panel to the Stage or Navigator)
Observe how the button has certain Properties prepopulated, notably the Background value.
7) Right-Click on the Button introduced in Step 6) and from the context menu, select 'Style'->'Button'->'Apply Resource', and apply the Style created in Steps 3) and 4)
Observe how the Background property of the Button has changed to the Background of the Style (in this case, Red).

8) Draw a fully-enclosed Path on the Stage.
9) Right-Click on the Path, and from its context menu, select 'Styles'->'Path'->'Create'. This will enter its Style editor.
10) Similarly to how peformed on the Button, set the Path's Background to be Red.

11) Draw a new fully-enclosed Path on the Stage.
12) Right-Click on the Path created in Step 11), and from its context menu, select 'Styles'->'Path'->'Apply Resource' and select the Path Style created in Steps 9) and 10).

Observe how the Background of the Path is not being coloured in Red like how it successfully did for the Button.

13) With the Path created in Step 11) selected, navigate to its properties, right-click on the 3-Dot Menu for the 'Fill' property, and select 'Clear Local Value'.

Observe how the Red Background now displays properly.

Expected Results: Paths should function similarly to other elements: Properties of Paths are not pre-baked values that do not update when a Style is applied, and do not require systematically Clearing Local Values to get it to display when applied.

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-07-11 14:31 dstewart New Issue
2025-04-02 11:08 sfernandez Target Version => Studio_Beta