Search found 10 matches

by Tomas
08 Apr 2025, 22:17
Forum: General Discussion
Replies: 8
Views: 4270

Re: Memory Leaks

Do you have a minimal XAML example that reproduces this? I'd love to take a closer look <DataTemplate DataType="{x:Type RadioItem}"> <IconRadioButton Margin="{Binding Margin}" CheckedIcon="{Binding Icon.Value}" FontFamily="{Binding Icon.Family}" Icon="{B...
by Tomas
08 Apr 2025, 16:54
Forum: General Discussion
Replies: 8
Views: 4270

Re: Memory Leaks

The leak was due to binding to the parent element in xaml.
This leak was not diagnosed before version 3.2.7
by Tomas
07 Apr 2025, 20:54
Forum: General Discussion
Replies: 8
Views: 4270

Re: Memory Leaks

Could you please provide a bit more context regarding the license you're using? Is this an evaluation license? I’m asking because I noticed you're using the symbol server, because you are getting clean call stacks. I have an Indie license. In the release build, only the size of the leak is printed ...
by Tomas
06 Apr 2025, 09:23
Forum: General Discussion
Replies: 8
Views: 4270

Re: Memory Leaks

Hi Tomas, Those macros are available if you compile Noesis from source. If you don’t, you’ll need to implement your own leak detection mechanism using the memory allocation callback. If you’re using standard malloc in Visual Studio, you can use _CrtDumpMemoryLeaks() . Let me know if this helps. Hi,...
by Tomas
03 Apr 2025, 20:43
Forum: General Discussion
Replies: 8
Views: 4270

Re: Memory Leaks

in the Noesis debugging build, on the call Noesis::Shutdown() I get the log NOESIS[E]: Assertion failed: gFaceCache.Empty(), at VGLFontFace.cpp(294). NOESIS : Noesis Shutdown. NOESIS[W]: Memory leaks detected: 232560 bytes. NOESIS : Enable 'TRACK_ALIVE_OBJECTS' in BaseObject.cpp to get more informat...
by Tomas
03 Apr 2025, 13:28
Forum: General Discussion
Replies: 8
Views: 4270

Memory Leaks

Hi,
How can I use TRACK_ALIVE_OBJECTS to search for memory leaks?
by Tomas
27 Jan 2025, 18:10
Forum: General Discussion
Replies: 5
Views: 2487

Re: Binding ObservableCollection in version 3.2.7

As a side note: While not recommended, if you have a use-clase where you absolutely NEED to change the type of the collection items, check github. There's some implementations for synchronized ObservableCollection where you can pass a Func that converts one type to another and the collection will k...
by Tomas
24 Jan 2025, 11:28
Forum: General Discussion
Replies: 5
Views: 2487

Re: Binding ObservableCollection in version 3.2.7

Ok,
Thanks
by Tomas
23 Jan 2025, 10:31
Forum: General Discussion
Replies: 5
Views: 2487

Binding ObservableCollection in version 3.2.7

Hi,
Binding ObservableCollection<NodeComponent> to ObservableCollection<BaseComponent> in version 3.2.7 does not work
struct NodeComponent: public BaseComponent {};
How to fix this correctly for version 3.2.7?
by Tomas
22 Jan 2025, 21:02
Forum: General Discussion
Replies: 1
Views: 1651

Noesis 3.2.7 the Delegate operator += for lambdas is not compiled

Hi, In any example, let in (Commands sample) MainWindow() { Initialized() += MakeDelegate(this, &MainWindow::OnInitialized); Initialized() += [](auto, const auto& e) { }; //C2679 InitializeComponent(); } It doesn't work in Delegate.h /// Constructor from functor (lambda) template<class F, cl...