microsoft / microsoft/microsoft-ui-xaml

AnnotatedScrollBar's DetailLabel remains

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

Description

### Describe the bug

If AnnotatedScrollBar is destroyed with DetailLabel displayed, the DetailLabel will remain.

### Steps to reproduce the bug

This can be confirmed on the AnnotatedScrollBar page of the WinUI 3 Gallery app.
1. Move the mouse over the AnnotatedScrollBar to display the DetailLabel.
2. Press the Back button of mouse to change the page.
3. The DetalLabel will remain.

### Expected behavior

_No response_

### Screenshots

![Image](https://github.com/user-attachments/assets/80d070a2-3a39-4754-9e20-82f064b5cc35)
![Image](https://github.com/user-attachments/assets/97bb1242-ccdd-4137-a065-cc4c778e5d1d)

### NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

### Windows version

Windows 11 (22H2): Build 22621

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Run the WinUI 3 Gallery app and open the AnnotatedScrollBar page, then reproduce the issue by displaying the DetailLabel and using the mouse Back button. Trace the AnnotatedScrollBar lifecycle and verify that navigating away leaves no DetailLabel visible.

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.