microsoft / microsoft/microsoft-ui-xaml

Touch two buttons at same time, both stay toggled - WinUI 3

Open
#9,901 1 comment 0 reactions 0 assignees View on GitHub
area-Button area-Pointer bug team-Controls
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

I have a touchscreen PC and when I touch two buttons at the same time they toggle (as if they were pressed and released) in a WinUI 3 Application. UWP this does not happen.

### Steps to reproduce the bug

1. You must have a touchscreen pc;
2. Create two buttons in WinUI;
3. Click on both at the same time;
4. See both are toggled or at least one it is; (UWP this not happen)

### Expected behavior

Common buttons cannot be toggled.

### Screenshots

![image](https://github.com/user-attachments/assets/e88e5138-9b5c-4dc8-8ebc-7d448bab2bc0)

### NuGet package version

None

### Windows version

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the touchscreen interaction in a minimal WinUI 3 app with two buttons and compare it with UWP behavior. Done means ordinary buttons do not remain toggled when touched simultaneously; no source file or test is identified in the issue, so the relevant control and input-handling tests will need to be located first.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.