The Window.Activated event fires twice after maximizing a minimized window #7343
Labels
area-App activation
bug
Something isn't working
fix-released
The fix has been in a release (experimental, preview, stable, or servicing).
fixed-internally
This bug has been fixed, and the fix will be shipped in the next version of WinUI 3.
product-winui3
WinUI 3 issues
team-Reach
Issue for the Reach team
Milestone
Describe the bug
If you minimize a window and then maximize it you will get two symmetrical
Activated
events// Minimize window
// Maximize Window
I tested this behavior on UWP and on UWP it only fires one event when maximizing the window.
Steps to reproduce the bug
App86.zip
I've added an activated event to the window
You'll see two messages logged during the Maximize phase.
Expected behavior
Only one
CodeActivated
event should fire when maximizing the window.Screenshots
No response
NuGet package version
1.1.0
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: