User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: BETA: NoesisGUI v2.1.0rc2

29 Jan 2018, 14:39

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.
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

Re: BETA: NoesisGUI v2.1.0rc2

29 Jan 2018, 14:45

@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.
 
ivan_b
Posts: 100
Joined: 22 Jul 2015, 12:57

Re: BETA: NoesisGUI v2.1.0rc2

29 Jan 2018, 15:16

Thanks @sfernandez
That is the situation in my case. I will check if this will help and let you know.
 
nokola
Posts: 188
Joined: 10 Mar 2015, 05:29

Re: BETA: NoesisGUI v2.1.0rc2

29 Jan 2018, 18:27

@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! :)
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: BETA: NoesisGUI v2.1.0rc2

30 Jan 2018, 05:10

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.
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: BETA: NoesisGUI v2.1.0rc2

30 Jan 2018, 05:15

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!
 
Wanderer
Posts: 168
Joined: 08 May 2017, 18:36

Re: BETA: NoesisGUI v2.1.0rc2

30 Jan 2018, 11:18

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.
 
peterh
Posts: 39
Joined: 13 Mar 2015, 13:50

Re: BETA: NoesisGUI v2.1.0rc2

07 Feb 2018, 09:54

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?
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: BETA: NoesisGUI v2.1.0rc2

08 Feb 2018, 11:07

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...
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: BETA: NoesisGUI v2.1.0rc3

10 Feb 2018, 07:15

Please, try the RC3 we just released a few minutes ago

Who is online

Users browsing this forum: No registered users and 35 guests