microsoft / microsoft/microsoft-ui-xaml

Wrong tooltip on the maximize/restore button when window is maximized

Open
#10,438 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-TitleBar bug
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

Currently it shows "Maximize" tooltip regardless of window is maximized or not

![Image](https://github.com/user-attachments/assets/b21da920-b849-4168-a03d-9ab82b794d1f)

However the correct tooltip should be "Restore down" when the window is maximized, see any normal win32 window and uwp window

![Image](https://github.com/user-attachments/assets/46e8671c-9b27-4dc7-9aa6-3eab37252444)

### Steps to reproduce the bug

n/a

### Expected behavior

_No response_

### Screenshots

_No response_

### NuGet package version

WinUI 3 - Windows App SDK 1.6.6: 1.6.250228001

### Windows version

Windows 10 (20H2): Build 19042

### Additional context

Related: #2229. *Does this project actually have QA?*

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the WinUI 3 maximize/restore button but no source file or test. Start by locating the title-bar button and its tooltip behavior, then reproduce with Windows App SDK 1.6.6 on Windows 10. Done means the tooltip says "Restore down" while maximized and "Maximize" otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
design, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.