View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004319 | NoesisGUI | Studio | public | 2025-07-28 14:29 | 2025-07-28 16:22 |
| Reporter | dstewart | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | Studio_Beta | ||||
| Target Version | Studio_Beta | Fixed in Version | Studio_Beta | ||
| Summary | 0004319: Fonts Added As A Resource To a Non-GlobalResource Dictionary Generate Incorrect XAML Syntax | ||||
| Description | Currently, if a Font is added as a Resource to GlobalResources.xaml, the xaml produced follows an expected syntax of: <ResourceDictionary However, if a Font is added as a Resource to a 'Standalone' Resource Dictionary, the following syntax is generated: <ResourceDictionary Where this second example becomes problematic, and the reason for making as 'Major' is that this syntax, the Engine would be unable to access this location due to the studio:// portion of the path. Note that quite interestingly, the incorrect syntax only seems to generate with Fonts. Bitmap Assets for example, generated 'as expected' XAML. Repro Steps: 1) Download any Font that you do not already have installed on your PC (Download any from https://www.dafont.com/ for example). 2) Create a folder which will contain both the Noesis Studio Project, as well as the chosen downloaded Font. 4) Within Studio, from the Assets Panel, create a new Resource Dictionary. 9) Navigate to the Assets Panel, and open the ResourceDictionary in VSCode. Observe the unexpected syntax used to reference the Font file. Expected Results: Fonts set as Resources from within Noesis Studio use a universally-compatible syntax which functions whether the Project is running within Studio, or in-Engine. 10) Create a MainPage.xaml, and place a TextBlock within it. 14) Navigate to the Assets Panel, and open the GlobalResources Dictionary in VSCode. Observe how the syntax this time is displaying the expected formatting. 15) (Bonus) - Repeat Step 1) - Step 14) with an Image Asset instead of a Font. | ||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-07-28 14:29 | dstewart | New Issue | |
| 2025-07-28 14:30 | dstewart | Description Updated | |
| 2025-07-28 14:30 | dstewart | Description Updated | |
| 2025-07-28 14:30 | dstewart | Description Updated | |
| 2025-07-28 14:31 | dstewart | Description Updated | |
| 2025-07-28 16:21 | sfernandez | Assigned To | => sfernandez |
| 2025-07-28 16:21 | sfernandez | Status | new => assigned |
| 2025-07-28 16:21 | sfernandez | Target Version | => Studio_Beta |
| 2025-07-28 16:22 | sfernandez | Status | assigned => resolved |
| 2025-07-28 16:22 | sfernandez | Resolution | open => fixed |
| 2025-07-28 16:22 | sfernandez | Fixed in Version | => Studio_Beta |