microsoft / microsoft/microsoft-ui-xaml

Right-click is ignored at times

Open
#10,669 3 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

Sometimes, right-clicking an element does not raise the `RightTapped` Event. Additionally, whether it is ignored seems completely random.

### Steps to reproduce the bug

Create a large element and handle the `RightTapped` event. Right-click it at different positions multiple times, and you will find that sometimes the `RightTapped` event does not occur.

### Expected behavior

_No response_

### Screenshots

_No response_

### NuGet package version

WinUI 3 - Windows App SDK 1.8 Experimental 4: 1.8.250702007-experimental4

### Windows version

Windows 11 (24H2): Build 26100

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a large element and a RightTapped handler on Windows 11 using the reported Windows App SDK version. Trace how right-click input is routed at different positions and confirm that repeated right-clicks consistently raise RightTapped before considering the work complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.