Skip to content

RichTextBox link handling is broken #1644

Closed

Description

@RussKie
  • Have you experienced this same bug with .NET Framework?: No

Problem description:

RitchTextBox does not react to LinkClicked events at all.

Actual behavior:
Created two apps - .NET 4.6.1 and .NET Core side-by-side targeting msftedit.dll (not the old riched20.dll), loaded the same rtf:
rtb-link-issue

Expected behavior:

.NET Core reacts to the events like .NET Fx did.

Minimal repro:

https://github.com/RussKie/Test-RichTextBox-links

Activity

  1. added
    🪲 bug
    💥 regression-preview
    tenet-compatibility
    on Aug 15, 2019
  2. weltkante commented on Aug 16, 2019

    @weltkante
    Contributor

    Move your initialization from constructor into load event then it works for me.

    I think I'm starting to see a pattern here, with ComboBox (#1311) and ListView (#1607) not working when doing certain things in constructor initialization

  3. weltkante commented on Aug 19, 2019

    @weltkante
  4. ghost added
    🚧 work in progress
    on Aug 20, 2019
  5. ghost removed
    🚧 work in progress
    on Aug 20, 2019
  6. Marie-Shi commented on Aug 27, 2019

    @Marie-Shi

    Verified this bug with .Net Core 3.0.100-preview9-014004 from release branch, this bug is fixed, please see the below screenshot:
    LinkEvent
    LinkEvent1

  7. RussKie commented on Aug 27, 2019

    @RussKie
    ContributorAuthor

    Thank you!

  8. ghost locked as resolved and limited conversation to collaborators on Feb 4, 2022
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

    🪲 bug💥 regression-previewtenet-compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions