View Issue Details

IDProjectCategoryView StatusLast Update
0003967NoesisGUIStudiopublic2025-12-02 23:16
Reporterdstewart Assigned Todfranjic  
PrioritynormalSeveritymajor 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Beta 
Summary0003967: Moving GlobalResources.xaml From the Root Directory Breaks All Global Resources
Description

Currently, we allow the user to move GlobalResources.xaml to a non-root folder in the Project's directory.

However, this is an operation that will cause:
1) All GlobalResources Resources will break where used, and no longer be accessible to access through any Page.
2) Two 'GlobalResources.xaml' will exist within the Project.

In the immediacy, we should likely prevent the user from performing an operation that will cause significant Project breakage by:
1) Preventing the GlobalResources.xaml from being moved to a non-root folder.
2) Displaying a red Toast Notification displaying:
Title: GlobalResources cannot be moved.
Description: GlobalResources.xaml must remain in the Project's root folder.

Steps To Reproduce

Repro Steps:

0) Create a new Studio Project
1) Create a Page
2) Introduce a Button to the root Grid.
3) Right-Click on the Button, and navigate to 'Templates', 'Button', then 'Create'.
4) Give the Template a name, and select to store it within GlobalResources.xaml. This will open the Template in the Template Dummy Editor.
5) Make any visual change to the Button which will differentiate it from the default style.
6) Exit the Dummy Editor, and Navigate to the Assets Panel (Ctrl+1).

7) In the Assets Panel's Folder Browser, create a new folder within the Project Root by hovering over the root folder, click the (+), and give it a unique name when created.
8) Find the GlobalResources.xaml file, and click-and-drag it to the folder created in Step 7).

Observe how the Button on-Stage, continues to be correctly displayed.

9) Close the application, and open the Project again.

Observe how the Button on-Stage, no longer displays the correct Template.

10) Right-click on the Button, navigate to the 'Templates' section, and then hover over 'Button',

Observe how the 'Apply Resource' option is disabled.

Expected Results:
Either moving GlobalResources is permitted, and retains links to its used Resources, or, moving GlobalResources is not permitted to prevent users breaking their projects.

PlatformAny

Relationships

related to 0004453 resolveddfranjic In Studio Unity, Merging a ResourceDictionary into GlobalResources Causes a Crash 
related to 0004452 resolveddfranjic Crash merging dictionary into GlobalResources 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-02-17 12:15 dstewart New Issue
2025-02-17 12:24 dstewart Description Updated
2025-02-17 12:32 jsantos Assigned To => sfernandez
2025-02-17 12:32 jsantos Status new => assigned
2025-02-17 12:32 jsantos Target Version => Studio_Alpha
2025-02-17 18:13 sfernandez Assigned To sfernandez => dfranjic
2025-04-02 11:08 sfernandez Target Version Studio_Alpha => Studio_Beta
2025-10-27 11:28 sfernandez Relationship added related to 0004452
2025-10-27 11:42 dstewart Relationship added related to 0004453
2025-12-02 23:16 dfranjic Status assigned => resolved
2025-12-02 23:16 dfranjic Resolution open => fixed