Repository navigation
Description
Current behavior
UpdateAllAsync-Still-null-selection.mp4
Using IState<string>.UpdateAllAsync + setting to a validated not-null string still causes Selection to become null
info: System.Type[0]
Found ICU version 77.1.
AI endpoint URI resolved to 'https://ai-endpoint.api.platform.uno/'.
info: DevTKSS.Uno.MvuxListApp.Presentation.MainModel[0]
Selected Member changed to: Tom
info: DevTKSS.Uno.MvuxListApp.Presentation.MainModel[0]
Modified MemberName ist: Peter
info: DevTKSS.Uno.MvuxListApp.Presentation.MainModel[0]
SelectedMember ist: Tom
info: DevTKSS.Uno.MvuxListApp.Presentation.MainModel[0]
Selected Member changed to: (null)
Expected behavior
Should not update the Selection to null if I did validate the updated Value to be not-null -> this issue should be fixed 🤔
How to reproduce it (as minimally and precisely as possible)
Repro (without Solutionfile)
DevTKSS.Uno.MvuxListApp.zip
DevTKSS.Uno.SampleApps Solutionfile.zip
BUT, if I use UpdateAsync without Command Binding/FeedParameter Attribute, with my WebView2Sample App, which can listen to the Selection(...) because there is no Commit to change-like Behaviour required, the Uri is not longer null when I use the Uno Extensions Version listed below, which includes
- Fix ListState.AddAsync callback firing with null value #2947
- [MVUX] ListState<Uri>.AddAsync causes Selection/State.Empty.ForEach callback to fire with null before the actual selected value #2942
So something must be different internally between both...
Environment
VS Extensions Version 6.4.20.20
{
"msbuild-sdks": {
"Uno.Sdk": "6.5.0-dev.100"
},
"sdk": {
"allowPrerelease": true
}
}Nuget Package (s): <UnoExtensionsVersion>7.1.0-dev.62</UnoExtensionsVersion>
Package Version(s):
Affected platform(s):
- iOS
- macOS (AppKit)
- Mac Catalyst
- Android
- WebAssembly
- Windows
- Skia (WPF) 🤔 no idea...
- Skia (GTK on Linux/macOS/Windows) 🤔 Desktop...
- Skia (Linux Framebuffer)
- Build tasks
Windows 11 Pro Host
<TargetFrameworks>net10.0-desktop</TargetFrameworks>
Visual Studio:
- VS 2026 (version: 18.1.1
- Visual Studio Code (version: )
- Rider Windows (version: )
- Rider macOS (version: )
Relevant plugins:
- Resharper (version: )
Anything else we need to know?
this should be fixed... isnt it?
Activity
DevTKSS commentedon Jan 12, 2026
@Jen-Uno could the team check why this is still present? Does the
UpdateAllAsyncuse a other underlying code flow?I would even consider using
UpdateItemAsyncfor the Sample App I currently use this in, but this is not possible since this should be a simplest sample using "just" a list of Strings butstringdoes of course not implementIKeyEquatable<T>🙄and we have no
UpdateSelectedItemAsyncby now. Maybe its considerable to implement this or the linked to its related issues:KeyEquatable<T>types containd in a ListState! #3010DevTKSS commentedon Mar 20, 2026
@kazo0 @dr1rrb could you check why the meant-to-be-solved issue pops up again? Tryed to have my tutorial(s) cutted and published but was not working as expected in there...