Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right Click on RichTextBlock Crash app in WinUI 3 #7129

Closed
2 tasks done
ghost1372 opened this issue May 20, 2022 · 2 comments
Closed
2 tasks done

Right Click on RichTextBlock Crash app in WinUI 3 #7129

ghost1372 opened this issue May 20, 2022 · 2 comments
Labels
area-TextBox TextBox, RichEditBox bug Something isn't working product-winui3 WinUI 3 issues team-Controls Issue for the Controls team

Comments

@ghost1372
Copy link
Contributor

Describe the bug

Right Click on RichTextBlock Crash app

Exception thrown at 0x00007FFC5226474C in AlAnvar.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000128DF7C030.

Steps to reproduce the bug

1.Create a new winui 3 app
2.Create listview with RichTextBlock itemtemplate
3.Right Click on RichTextBlock

<ListView ItemsSource="{x:Bind Mies}">
            <ListView.ItemTemplate>
                <DataTemplate x:DataType="local:myModel">
                    <StackPanel>
                        <RichTextBlock>
                            <Paragraph>
                                adasd
                            </Paragraph>
                        </RichTextBlock>
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.1 Preview 3: 1.1.0-preview3

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (21H2): Build 22000

Additional context

No response

@ghost1372 ghost1372 added the bug Something isn't working label May 20, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label May 20, 2022
@kmgallahan
Copy link
Contributor

Dupe of #4804 (applies to any control that uses a TextBox internally)

@ojhad ojhad added product-winui3 WinUI 3 issues area-TextBox TextBox, RichEditBox team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jun 2, 2022
@ghost1372
Copy link
Contributor Author

This issue is fixed in WASDK 1.1.0 stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TextBox TextBox, RichEditBox bug Something isn't working product-winui3 WinUI 3 issues team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants