Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial Repost: MainWindow freeze after workaround for "Maui partial UI freeze, typing to fast or method takes time to process." #8745

Closed
carsten-riedel opened this issue Jul 1, 2023 · 3 comments
Labels
team-CompInput Issue for IXP (Composition, Input) team

Comments

@carsten-riedel
Copy link

carsten-riedel commented Jul 1, 2023

Description

There is a known bug in the Windows App Sdk used by MAUI projects. (And other project types, Universal app etc.)
See references.

https://github.com/dotnet/maui/issues/13573

Tracked here:
https://github.com/microsoft/WindowsAppSDK/issues/3266

There is an advice how to fix this bug from Eilon commented on Apr 6
See this comment for how to get the fix in a .NET MAUI Blazor project: MicrosoftEdge/WebView2Feedback#3003 (comment)

It is basically upgrading to <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.230313.1" />

On the first run after applying this it seems to work. After deleting bin and obj folder (before run) or building the app in CI/CD this won't work and causes the MAINWINDOW to partial freeze. (See video trying to move, close etc. the MainWindow)

So basically, there is no solution with net7 MAUI Projects for the "UI freeze, typing to fast".

This is a somewhat major showstopper for our current project. Cause how to progress with UI and Window freeze in net7, should we decide to stick to net6 and wait for net8 release, cause of the project timeline this could lead to some problems.

Would be nice if you could adjust priority on this topic and introduce a fix for net7 projects running <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.230313.1" />, causes a "Window Freeze" at the moment.

Steps to Reproduce

Run link to public repository and try to move the window.

Link to public reproduction project repository

https://github.com/carsten-riedel/Bug.Report.Maui1

Version with bug

7.0.49

Last version that worked well

6.0

Affected platforms

Windows

Affected platform versions

Windows 10

Did you find any workaround?

No workaround yet.

Relevant log output

2023-06-30_07h15_08

@carsten-riedel carsten-riedel changed the title Bug title Partial Repost: MainWindow freeze after workaround for "Maui partial UI freeze, typing to fast or method takes time to process." Jul 1, 2023
@carsten-riedel
Copy link
Author

carsten-riedel commented Jul 1, 2023

Reference link to MAUI dotnet/maui#15939

@finepointcgi
Copy link

I upgraded to

<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.230628000-preview1" />

and it seems to fix it for me.. Hopefully itll come out of preview soon

@bpulliam bpulliam transferred this issue from microsoft/WindowsAppSDK Aug 10, 2023
@bpulliam bpulliam added the team-CompInput Issue for IXP (Composition, Input) team label Aug 10, 2023
@codendone
Copy link
Contributor

Closing as fixed in 1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

4 participants