Open maaxe opened 1 year ago
@MartinZikmund
FYI: On the 4.8.15 release everything seams to be working as expected
@maaxe thanks for the update. Could you validate on the latest 5.0 preview builds? Note that you will need to apply this change to use WPF.
I tested on the latest 5.0.0-dev.3413. But this requires me to target net7. For some reason the usercontrols are not recycled when i target net7 (i might be missing something obvious.. ). Since the controls are not recycled im not able to reproduce the issue.
Thanks for the update. There's indeed a pooling issue that is being addressed in https://github.com/unoplatform/uno/pull/13958, though it may not be fixing this particular issue.
@jeromelaban Updated and tested on 5.0.0-dev.3552 (that should include the fix in #13958 ?). The pooling issue is still present, so I can't test if there's still an issue with the recycled TextBox bindings on the latest builds
This is possibly related to changes here https://github.com/unoplatform/uno/pull/13165, must be some edge case
Current behavior
Changing the value in a recycled TextBox do not update the bound property. Changing the value again updates the property.
Not visible when targeting net7. Visible when targeting net6.
Expected behavior
Works on first edit
How to reproduce it (as minimally and precisely as possible)
Uno_binding_test.zip
Workaround
Disable FrameworkTemplatePool
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
4.10.26
Affected platforms
Skia (WPF)
IDE
No response
IDE version
17.6.3
Relevant plugins
No response
Anything else we need to know?
No response