Skip to content

[Bug] Hyperlinks in WPF Viewer sample descriptions do not navigate #1788

@praveenaak

Description

@praveenaak

Platforms

  • Android
  • iOS
  • macOS
  • Windows

Apps

  • .NET MAUI
  • WinUI
  • WPF

Bug Description

README hyperlinks in WPF Viewer are clickable but don't navigate
In src/WPF/WPF.Viewer/Description.xaml.cs:54, AllowNavigation is set to false on the WebBrowser control. This blocks legitimate hyperlinks in sample READMEs (e.g., portal item links in "About the data" sections) from opening.

Steps to Reproduce

  1. Run the WPF Viewer app.
  2. Open any sample that has a hyperlink in its README (e.g., Add 3d tiles layer. The "About the data" section links to an OGC 3D Tiles specification).
  3. Click the Description tab to view the rendered README.
  4. Click the hyperlink.
    Nothing happens. The link does not open in a browser.

Impacted Samples

No response

Log Output

No error is logged. The navigation is silently blocked

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions