microsoft / microsoft/microsoft-ui-xaml

Unexpected behaviour after resizing the window

Open
#10,153 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

A crash event and the app close suddenly, for some reason this only happen if I try to resize the application using the Arrow Up before do something in tool.

### Steps to reproduce the bug
I am developing an application for IT admins. it runs as an exe file and uses WinUI 3.
1. Open the exe Tool as admin
2. Use the Winkey(Windows Key) + Arrow Up to resize the application

### Expected behavior

The Tool resize successfully

### Screenshots

_No response_

### 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

Start by reproducing the crash with a WinUI 3 app built with Windows App SDK 1.6.1 on Windows 11 build 22621: launch the executable as administrator, then use Windows Key + Arrow Up before interacting with the tool. Capture the crash event and determine which window-resize path fails; done means the application resizes successfully without closing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.