View Issue Details

IDProjectCategoryView StatusLast Update
0001569NoesisGUIC++ SDKpublic2021-04-29 10:46
ReporternikobarliAssigned Tosfernandez 
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
Product Version2.2.3 
Target Version3.1Fixed in Version 
Summary0001569: Customizing UriConverter / XamlProvider
DescriptionFollow ups from https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1830

We would like more freedom on managing our xaml placements using Packed URI.

Please consider adding this feature to UriConverter and/or XamlProvider.
TagsNo tags attached.
PlatformAny

Relationships

related to 0001468 assignedsfernandez Ability to load embedded resources from assemblies other than the default assembly 

Activities

nikobarli

nikobarli

2019-10-15 04:44

reporter   ~0005993

And I think we have the issue with the Font and Texture provider as well.
sfernandez

sfernandez

2019-10-18 14:28

manager   ~0005999

Yes, the same UriConverter code is used for all the resources: xamls, fonts, images...
nikobarli

nikobarli

2020-10-01 02:02

reporter   ~0006656

Hi Sergio,

Do you have update on this issue ?
The number of Noesis vcxprojs are growing, and it's becoming more difficult for us to work around this.
We need to make sure to not using XAMLs with identical filenames (although they are belong to different projects), because our XAML provider is searching for the filename on all possible subdirectories.
sfernandez

sfernandez

2020-10-01 14:05

manager   ~0006657

Last edited: 2020-10-01 14:10

View 2 revisions

Hi,

We are thinking on extending providers api with a new function that will receive both path and assembly as an Uri object. For example for the XamlProvider:
virtual Ptr<Stream> LoadXaml(const Uri& uri) = 0;

For branch 3.0 we will first call current load function with path only, and if it returns null, then we will call the new function passing the Uri that provides also the assembly name.
In next 3.1 version only the new function will be available.

Do you think this would work in your case?

nikobarli

nikobarli

2020-10-02 07:02

reporter   ~0006658

Hi Sergio, thanks for the consideration.

Yes, I think it's sufficient for us if we can tell the assembly name from the Packed URI.
We are also OK with the scheme you proposed for version 3.0 and 3.1.
satorp

satorp

2021-03-25 08:13

reporter   ~0007110

Hi Sergio. Could we have an update for this issue? Do you have plan to implement the fix in 3.0, or should we wait for 3.1?
sfernandez

sfernandez

2021-03-29 10:46

manager   ~0007113

We tried to incorporate this but found some complications and had to delay it until next major version.
Sorry for the inconveniencies.
satorp

satorp

2021-03-30 06:02

reporter   ~0007117

Last edited: 2021-03-30 06:53

View 2 revisions

I see. Thank you for the update. By next major version you mean 4.0? Not 3.1?

jsantos

jsantos

2021-03-30 12:40

manager   ~0007120

3.1, the next major release. Soon we are going to have a meeting to discuss about this and see if we find an easy solution.
Susanna.Rowland

Susanna.Rowland

2021-04-28 13:25

reporter   ~0007182

Are there any updates on this issue? Is it still on schedule for the 3.1 release?
sfernandez

sfernandez

2021-04-29 10:46

manager   ~0007188

Hi Susanna,

We still plan to solve this for the 3.1 release. The idea is to incorporate the assembly information in the Uri object that will be received by the providers to load resources, for example:
virtual Ptr<Stream> LoadXaml(const Uri& uri) = 0;

Issue History

Date Modified Username Field Change
2019-10-15 03:33 nikobarli New Issue
2019-10-15 04:44 nikobarli Note Added: 0005993
2019-10-18 14:28 sfernandez Assigned To => sfernandez
2019-10-18 14:28 sfernandez Status new => assigned
2019-10-18 14:28 sfernandez Target Version => 2.3.0
2019-10-18 14:28 sfernandez Note Added: 0005999
2019-11-13 09:47 sfernandez Relationship added related to 0001468
2020-10-01 02:02 nikobarli Note Added: 0006656
2020-10-01 14:05 sfernandez Status assigned => feedback
2020-10-01 14:05 sfernandez Note Added: 0006657
2020-10-01 14:10 sfernandez Note Edited: 0006657 View Revisions
2020-10-02 07:02 nikobarli Note Added: 0006658
2020-10-02 07:02 nikobarli Status feedback => assigned
2021-03-25 08:13 satorp Note Added: 0007110
2021-03-29 10:46 sfernandez Status assigned => feedback
2021-03-29 10:46 sfernandez Note Added: 0007113
2021-03-30 06:02 satorp Note Added: 0007117
2021-03-30 06:53 satorp Note Edited: 0007117 View Revisions
2021-03-30 12:40 jsantos Note Added: 0007120
2021-03-30 12:41 jsantos Target Version => 3.1
2021-04-28 13:25 Susanna.Rowland Note Added: 0007182
2021-04-29 10:46 sfernandez Note Added: 0007188