Skip to content

Do not swallow exceptions on pointer input and dispatcher #19197

Description

@MartinZikmund

Current behavior

Currently exceptions are often swallowed on input, for example in case of RaisePointerEvent or DispatchItems in NativeDispatcher. While this is less disruptive than a crash, it can make a wrong impression that the input had no effect, when instead there was a crash.

Expected behavior

Crash the application.

Alternative could be to swallow the exception when in production, but throw in case debugger is attached.

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    kind/papercut
    and removed
    triage/untriaged
    difficulty/tbd
    on Jan 10, 2025
  2. changed the title [-]Do not swallow exceptions on pointer input[/-] [+]Do not swallow exceptions on pointer input and dispatcher[/+] on Jan 10, 2025
  3. added theissue type on Jun 20, 2025
  4. github-actions commented on May 10, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  5. added
    stale
    on May 10, 2026
  6. removed
    stale
    on May 11, 2026
  7. 80 remaining items

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

    kind/bugkind/papercut

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions