microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

Combox Errors in KernelBase.dll--> WinRT Transform error

Open MarkBQE opened this issue 3 years ago • 3 comments

Describe the bug

Combo box throws the following error when bound to an Observable collection of complex custom objects

Steps to reproduce the bug

Steps to reproduce the behavior: Bind a combobox to an observable collection using classic binding ItemsSource= {Binding CollectionName}, I am not using x:Bind since I am using MVVM pattern. These errors do not crash the app, however there are bunch of these errors when I click on the ComboBox dropdown. Wondering how this can be fixed, is this a known issue?

   <ComboBox x:Name="ClientList"  PlaceholderText="Pick a Client" ItemsSource="{Binding Clients}" DisplayMemberPath="name" SelectedValuePath="id" IsEditable="True"  
          Header="Client" Width="175">
                <Interactivity:Interaction.Behaviors>
                     <Interactions:EventTriggerBehavior EventName="SelectionChanged" SourceObject="{Binding 
                       ElementName=ClientList}" >
                        <Interactions:InvokeCommandAction Command="{Binding ClientSelectionChangedCommand}" CommandParameter="{Binding ElementName=ClientList, Path=SelectedItem}"/>
                    </Interactions:EventTriggerBehavior>
                </Interactivity:Interaction.Behaviors>
      </ComboBox>

Expected behavior

There should be no errors Screenshots

image

Version Info

NuGet package version: WinUI 0.8.0-preview

Windows app type:

UWP Win32
Yes
Windows 10 version Saw the problem?
Insider Build (xxxxx)
October 2020 Update (19042)
May 2020 Update (19041)
November 2019 Update (18363)
May 2019 Update (18362) Yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

MarkBQE avatar Jun 02 '21 02:06 MarkBQE

Was this fixed in some way? I'm on 1.0.0.0 and have the same "WinRT transform error" also little lag when combo box is opened.

Petrarca181 avatar Sep 25 '21 15:09 Petrarca181

Is this being fixed? Whenever I click a ComboBox where ItemsSource is bound to IReadOnlyList{Object}, 15 exceptions are thrown (also if the list is empty). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B78BA0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B76A50). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B76930). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B76A50). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B76930). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B76A50). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B76930). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B783E0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B782C0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B783E0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B782C0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B7CB50). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B78BA0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B783E0). Exception thrown at 0x00007FFBEDFA4F69 (KernelBase.dll) in [My Executable]: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001E70B782C0).

Maikelsoft avatar Apr 14 '22 12:04 Maikelsoft

Have the same problem with DropDownButton for WinAppSDK 1.1.0.

ynborokh avatar Jul 29 '22 13:07 ynborokh

I have the same issue using Windows App SDK 1.1.5. Very annoying to see in the output. It makes it hard to spot issues I would like to see.

timmarriott avatar Nov 15 '22 18:11 timmarriott

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 29 '23 15:07 github-actions[bot]

Still exists in Windows App SDK 1.4

tpoint75 avatar Oct 12 '23 07:10 tpoint75