View Issue Details

IDProjectCategoryView StatusLast Update
0002941NoesisGUIStudiopublic2024-06-20 02:18
Reporterdfranjic Assigned Tosfernandez  
PrioritynormalSeveritymajor 
Status resolvedResolutionfixed 
Product VersionStudio_Alpha 
Target VersionStudio_Alpha 
Summary0002941: Texture and font providers are not able to load the assets when the XAML is in a subdirectory
Description

Let's say we have this kind of organization of files


/ProjectRoot
/Menu
Main.xaml
background.png
font.ttf

If the Main.xaml references background.png, it's going to look something like this:


<Image Source="background.png"/>

When loading the Main.xaml file on the next startup, the project global texture provider will try to load "/background.png" (from the project root) rather than relative to the Main.xaml ("/Menu/background.png")

Steps To Reproduce
  1. Create a XAML file in a subdirectory and open the said XAML file
  2. Put an image file or a font file in the same subdirectory
  3. Reference that image/font file in the XAML file
  4. Close the XAML file
  5. Open the XAML file
  6. Observe how the image/font file isn't applied to the element that references it
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-12-12 17:57 dfranjic New Issue
2023-12-12 17:57 dfranjic Product Version => Studio_Alpha
2023-12-12 17:57 dfranjic Target Version => Studio_Alpha
2023-12-12 18:14 jsantos Assigned To => sfernandez
2023-12-12 18:14 jsantos Status new => assigned
2024-06-20 02:18 dfranjic Status assigned => resolved
2024-06-20 02:18 dfranjic Resolution open => fixed