Skip to content

Caret Browsing causes app to crash on TextBlock with links #10764

@FrayxRulez

Description

@FrayxRulez

Describe the bug

If Caret Browsing is enabled (by pressing F7) the app will crash whenever the user tabs on a (Rich)TextBlock if it contains any Hyperlink and IsTextSelectionEnabled is set to false.

Why is this important?

Makes apps hard to use for screen reader users.
This currently accounts for more than 2.5% of crashes in my app.

Steps to reproduce the bug

  1. Add a TextBlock with a Hyperlink to a Window
  2. Enable Caret Browsing by pressing F7
  3. Tab to focus the TextBlock

Actual behavior

No response

Expected behavior

No response

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

This is a quite ancient bug, happens on UWP since a very long time. WinUI 3 is affected too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-reproneeds-triageIssue needs to be triaged by the area owners

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions