Bug: Unhandled Windows.UI.Xaml.LayoutCycleException from ProgressBar with Large Maximum #9872
Labels
area-Progress
ProgressBar, ProgressRing
bug
Something isn't working
product-winui2
team-Controls
Issue for the Controls team
Describe the bug
MCRE example attached.
In summary:
ProgressBar.Maximum set to some high value (3000, e.g.), and Value set to nearly 100% (2998, e.g.), causes an unhandled Windows.UI.Xaml.LayoutCycleException.
MCRE_LayoutCycleDetected.zip
Steps to reproduce the bug
May need to play around with "Value" to hit it (in my testing, 2999 did not cause the exception, but 2998 did).
Expected behavior
ProgressBar reflects Value and Maximum; no LayoutCycleException thrown
Screenshots
No response
NuGet package version
None
Windows version
Windows 10 (21H2): Build 19044
Additional context
Actual Windows version is Windows 10 Professional 22H2 Build 19045.4291 (not an option in the drop-down above)
Ms.NETCore.UniversalWindowsPlatform is version 6.2.14 (latest stable as of this writing)
The text was updated successfully, but these errors were encountered: