Closed
Labels
area-PerformancebugSomething isn't workingSomething isn't workingteam-ControlsIssue for the Controls teamIssue for the Controls team
Description
Describe the bug
Winui3 App Page Freeze
Steps to reproduce the bug
When switching between applications using ALT + TAB, there is a chance that the application may freeze,
It will restore when the Alt key is pressed again.
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
Reacted by Tom Smith, Jyunni, Bogdan Pătrăucean, sbaeumlisberger, adLarcAI, Timo Partl, Nux, Brent Esh, James Esh, AustinEsh and 13 more
Metadata
Metadata
Assignees
Labels
area-PerformancebugSomething isn't workingSomething isn't workingteam-ControlsIssue for the Controls teamIssue for the Controls team
Activity
XFEstudio commentedon Dec 16, 2024
Same as this problem
Every time I switch to another window by using alt+tab and switch back, this page will freeze until I press space.
dim0147 commentedon Dec 17, 2024
Video, using mouse wheel & alt tab sometimes cause hang
https://github.com/user-attachments/assets/88a3ecd3-9adf-41f5-b835-fee96095e190
WinUI Gallery v2.5.1
bogdan-patraucean commentedon Feb 7, 2025
This bug needs to be fixed ASAP, as it makes apps unusable. This was not an issue in 1.5 version. It's not just Alt-Tab, it's just switching from a window to another, one being the app. The issue is happening on Windows 10 as well.
I'm considering downgrading the version if this is not fixed in 1.7. Can't release the app in this state. I would probably wake up with hundreds of bug reports.
There are at least 3 more issues related to this:
brentesh commentedon Feb 19, 2025
We have a production ERP that is seeing this issue as well and causing quite a few customer complaints. Is there any update on this at all?
brentesh commentedon Feb 19, 2025
Is there any work-around for this besides just downgrading?
svsnux commentedon Feb 19, 2025
This bug is causing major issues with our clients...
nseveno commentedon Feb 28, 2025
Hi, I also have a freeze problem with a WinUI 3 application.
It happens mostly when I Iaunch the application from Visual Studio (with or without a debugger attached).
It happens also sometimes when a ListView is refreshed.
It happens less when executing a Release build, but this is still a big problem.
I'm unable to find the cause.
Please correct this bug ! Or provide a workaround. The 1.6 SDK is unusable with this kind of bug !
brentesh commentedon Feb 28, 2025
We've moved back to 1.5 until this is resolved.
bogdan-patraucean commentedon Mar 20, 2025
1.7 released and still not fixed.
MPITech commentedon Mar 20, 2025
May I suggest that the OP change the subject to something more descriptive, like "... when ALT+TAB is used" or "when switching windows". It may help it get attention... although, sometimes I wonder if the team is actually reading ANY of these posts anymore.
wbokkers commentedon Mar 25, 2025
We also have more and more customers reporting that our app is freezing on them. I am not sure if it has to do with this same issue.
semiroot commentedon Mar 25, 2025
I have a similar if not the same issue.
At a random point (no window/app switching), the ui freezes fully/or partially.
Fully meaning no ui related events are fired making the window feel frozen.
Partially meaning a scroll view inside can still be scrolled but no other pointer or keyboard event is handled.
In most cases, labels of buttons are not rendered but their icons are.
No exception is thrown and the app is actually still running (I can even force garbage collection with JetBrains dotMemory). I can close the app by closing the window.
I can sometimes reproduce the issue when excessively navigating with Tab/Shift+Tab.
I have this issue in version 1.6.x and 1.7 of Windows App SDK.
lgBlog commentedon Mar 26, 2025
On any page, long pressing the TAB key will cause the UI to freeze
cconner100 commentedon Apr 8, 2025
This is also causing us not to release the new version of our system. We really need a fix for this from msft soon
MPITech commentedon Apr 8, 2025
We're seeing this more and more as we develop and test our app. We really need this fixed as we approach release. We're begging you.
codendone commentedon Apr 10, 2025
There was a fix in 1.6.7 and 1.7.1 which may address this issue:
1.7.1 additionally has this fix:
Please let us know if you see an improvement with these versions!
FF69B3 commentedon Apr 18, 2025
Fixed
vsvsav commentedon May 6, 2025
it hangs with DataGrid & ColumnWidth="*" & <DataGrid.Columns><`DataGridTextColumn> & empty rows on window resize
for the latest
WindowsAppSDK 1.7.250401001
CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.2
.NET9 WinUI3 Desktop Debug & Release
It works stably with ColumnWidth="100"
or `ColumnWidth="*" & HeadersVisibility="All" & GridLinesVisibility="All"
or ColumnWidth="*" without <DataGrid.Columns>