Page 11 of 14

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 29 Jan 2018, 14:39
by sfernandez
1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?
Yes, Blend for Visual Studio 2015 is fine.
2. I never used Blend before, can I create themes in Blend and use it in Noesis?
Yes, you can create a ResourceDictionary in Blend and define styles there for all your controls. Then you can use that as the global dictionary of your application:
Noesis.GUI.SetApplicationResources(themeDictionary);
In Unity you can set that dictionary in NoesisSettings > Application Resources.

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 29 Jan 2018, 14:45
by sfernandez
@ai_enabled
I have checked the profiler and it says that the problem is in noesis, the frame drops to 15 fps on my PC.
The problem is on the iPad when you see the animation freeze, even with some simple views.
That is the reason I have changed my code to never instantiate new UserControls, the problem with this approach is that the memory usage is much higher.
Compared to 1.x version there is one case where performance could be worse than 2.x versions. In old 1.x versions we used a cache for resource dictionaries that made all xamls referencing the same uri, get the same resource dictionary instance (loaded just once). This was a deviation from WPF (apart from other concerns) and we changed that in 2.x version. Now, every time you reference a dictionary in a xaml, a new copy is loaded from disk.

So I highly recommend you check that, and use the global application dictionary if you are going to reuse styles/resources, instead of referencing them in every xaml.

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 29 Jan 2018, 15:16
by ivan_b
Thanks @sfernandez
That is the situation in my case. I will check if this will help and let you know.

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 29 Jan 2018, 18:27
by nokola
@nokola, I never thought about this case. I think it should not be hard for the Noesis team to just add a simple flag which will avoid returning elements with IsHitTestVisible==false. Full delegate approach as in WPF will be much harder to implement due to C#-to-C++ interop... and I really can't see a good use case for it. A simple HitTest overload with the simple Boolean flag will be more than enough for most cases.
We think that the correct approach is to implement the callback version of HitTest function.
Thanks sfernandez! :)

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 30 Jan 2018, 05:10
by jsantos
1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?

2. I never used Blend before, can I create themes in Blend and use it in Noesis?
I also recommend you following our Blend tutorial, it was updated a few days ago.

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 30 Jan 2018, 05:15
by jsantos
Would be best indeed to have extra overload to allow circumventing WPF's problematic behavior.
As sfernandez said, we are not 100% sure this WPF behavior is a bug. Because sometimes it can be useful to know if there is GUI under the mouse, even if the element was marked with IsHitTestVisible to false. So we are going to keep being WPF compliant and implement the callback version.
Edit: Update on the other jittery scrolling issue: as I suspected wasn't due to Noesis. We fixed the jittery scrolling on our side.
Great news!

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 30 Jan 2018, 11:18
by Wanderer
1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?
Yes, Blend for Visual Studio 2015 is fine.
2. I never used Blend before, can I create themes in Blend and use it in Noesis?
Yes, you can create a ResourceDictionary in Blend and define styles there for all your controls. Then you can use that as the global dictionary of your application:
Noesis.GUI.SetApplicationResources(themeDictionary);
In Unity you can set that dictionary in NoesisSettings > Application Resources.
1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?

2. I never used Blend before, can I create themes in Blend and use it in Noesis?
I also recommend you following our Blend tutorial, it was updated a few days ago.
Thanks.

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 07 Feb 2018, 09:54
by peterh
What's the status of the 2.1 release? rc2 has been out for a while now. Is it safe to assume that rc2 is the final version that will be released, or is there an rc3 or final release version on the way?

Re: BETA: NoesisGUI v2.1.0rc2

Posted: 08 Feb 2018, 11:07
by jsantos
There is a rc3 on the way, fixing a few things. This version won't be the final version yet, because we want to polish the documentation and examples included. But this is quite close to the final version, hopefully...

Re: BETA: NoesisGUI v2.1.0rc3

Posted: 10 Feb 2018, 07:15
by jsantos
Please, try the RC3 we just released a few minutes ago