microsoft / microsoft/microsoft-ui-xaml

ListView with Extended selection mode can have multiple items still been selected after reorder.

Open
#10,569 1 comment 0 reactions 0 assignees View on GitHub
area-Lists bug
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

When SelectionMode="Extended" and CanReorderItems="True" after reordering the items multiple items still be selected

### Steps to reproduce the bug

Start a WinAppSDK+WinUI3 app project add the following code:
`





`
Run the application.
Drag a group of items.
click another item and those group of item are still been selected

### Expected behavior

Group of items still been after selected drag

### Screenshots

https://github.com/user-attachments/assets/ec2274fc-31cf-43bd-889c-d195682c47f4

### NuGet package version

WinUI 3 - Windows App SDK 1.7.1: 1.7.250401001

### Windows version

Windows 11 (24H2): Build 26100

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a WinAppSDK WinUI 3 app using the ListView settings and item template shown. Trace the ListView selection and reorder behavior, then clarify the intended selection state after dragging and clicking another item; done means the observed behavior matches that clarified expectation.

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
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.