Skip to content

[MVUX] UpdateAllAsync + Command Binding still causes null value Selection #3002

Open

Description

@DevTKSS

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

DevTKSS.UnoWebView2App.zip

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?

@kazo0 do you or @dr1rrb have any idea, how to solve this?

Activity

  1. added
    kind/bug
    triage/untriaged
    on Jan 4, 2026
  2. DevTKSS commented on Jan 12, 2026

    @DevTKSS
    ContributorAuthor

    @Jen-Uno could the team check why this is still present? Does the UpdateAllAsync use a other underlying code flow?
    I would even consider using UpdateItemAsync for 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 but string does of course not implement IKeyEquatable<T> 🙄

    and we have no UpdateSelectedItemAsync by now. Maybe its considerable to implement this or the linked to its related issues:

  3. DevTKSS commented on Mar 20, 2026

    @DevTKSS
    ContributorAuthor

    @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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions