Window.Activate does not activate and bring window to foreground in WinUI3 if window is in background but not minimized
See original GitHub issueDescribe the bug
If Activate is called on a Window which is in the background of other windows, that window is not activated and brought to the foreground. If the window is minimized it works correctly.
Steps to reproduce the bug
Call Activate on a Window when it is in the backround of other windows.
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.1.4
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:21 (10 by maintainers)
Top Results From Across the Web
Window.Activate Method (Windows.UI.Xaml) - UWP
Attempts to activate the application window by bringing it to the foreground and setting the input focus to it.
Read more >Bring a window to the front in WPF
The window should not activate its parent when it is shown;; The window should be compatible with Citrix. MVVM Solution. This code is...
Read more >Prevent apps from putting themselves in the foreground
This is done in Control Panel > Ease of Access Center > Make the mouse easier to use, check "Activate a window by...
Read more >How to get a Libre Office document to open as the active ...
The problem is that the newly-opened LO document/spreadsheet window isn't in the foreground as the active window, but is instead hidden behind the...
Read more >Setting the background of the main window with a theme
I'm trying to use the Expression Dark in a WPF application and can not find a way to have the window background automatically...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

My apologies. I was not launching the second instance. Now I am able to get the repro done. We are investigating this and I will keep the issue open until you validate the fix.
This is still an issue in Windows App SDK 1.3.2 (1.3.230602002)