microsoft / microsoft/microsoft-ui-xaml
ScrollView layout cycle crash
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
I'm getting a layout cycle error with the ScrollView control. I haven't yet been able to produce a minimal example, but it has the following characteristics.
- The ScrollViewer control was fine (just changing ScrollViewer to ScrollView with no other changes caused the crash).
- VerticalScrollBarVisibility is auto, HorizontalScrollMode is disabled.
- If I set UseLayoutRounding to false on the VerticalPanningRoot of the ScrollBar template, the crash still occurs
- If I set UseLayoutRounding to false on the ScrollView itself, the crash does not occur, however the ScrollView incorrectly shows a scroll bar when there should be none.
- If I change the vertical alignment of the content of the ScrollView to Stretch instead of Top, the crash does not occur, however the ScrollView incorrectly shows a scroll bar when there should be none.
- Issue did not occur at 100% or 150% display scaling, only 125%.
In the 'steps to reproduce' I have reproduced as much of the XAML that I can. I have also attached the layout cycle tracing below.
My feeling is that it is cycling between displaying and not displaying the scroll bar. Given that horizontal scrolling is disabled, I would expect that whether or not the vertical scrollbar is showing should have no effect on the desired height of the ScrollView. That ought to be enforced to prevent a cycle. Also, other defensive measures ought to be introduced to prevent a cycle of whether or not to show the scroll bar.
### Why is this important?
It makes the ScrollView control unusable. (Although due to the slow scrolling speed issue - https://github.com/microsoft/microsoft-ui-xaml/issues/10404 - it is already unusable).
### Steps to reproduce the bug
Cannot get minimal repro yet.
Partial XAML:
```xaml
```
Layout cycle trace:
```
[LayoutCycleTracing] Layout Iteration Countdown: 7. Launching Measure Pass.
[LayoutCycleTracing] "Measure(infx1072.800049)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "DesiredSize changed, old: 0.000000x0.000000 new: 14.400000x91.199997","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994FC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalRoot","Instance: 0x00000201E994FA00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Shapes.Rectangle","Name: VerticalTrackRect","Instance: 0x00000201E99456C0","TypeIndex: 702"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeIncrease","Instance: 0x00000201E1D62140","TypeIndex: 797"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994EC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1072.800049)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1070.800049)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "Measure(infx1070.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994FC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1070.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalRoot","Instance: 0x00000201E994FA00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1070.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Shapes.Rectangle","Name: VerticalTrackRect","Instance: 0x00000201E99456C0","TypeIndex: 702"
[LayoutCycleTracing] "Measure(infx981.599976)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeIncrease","Instance: 0x00000201E1D62140","TypeIndex: 797"
[LayoutCycleTracing] "Measure(infx980.799988)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994EC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 7","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] Layout Iteration Countdown: 6. Launching Arrange Pass.
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 6","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x180.000000)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x180.000000)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Button","Name: closeButton","Instance: 0x00000201EA0088E0","TypeIndex: 782"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x180.000000)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,44.000000 360.000000x91.199997)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x91.199997)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x91.199997)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter","Name: PART_ScrollPresenter","Instance: 0x00000201E993ECC0","TypeIndex: 568"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: PART_ScrollBarsSeparator","Instance: 0x00000201E995BA00","TypeIndex: 499"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: HorizontalThumb","Instance: 0x00000201E99476A0","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: HorizontalPanningThumb","Instance: 0x00000201E994F200","TypeIndex: 499"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: VerticalPanningThumb","Instance: 0x00000201E994F800","TypeIndex: 499"
[LayoutCycleTracing] "trackLength: 88.800003, repeatButtonsLength=24.000000","minimum: 0.000000, maximum: 0.000000, value: 0.000000, viewport: 90.400002","mouseIndicatorSize: 64.800003, touchIndicatorSize: 88.800003","mouseMinSize: 0.000000, touchMinSize: 0.000000, actualSize: 88.800003","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "SetValue(Height=0.000000)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeDecrease","Instance: 0x00000201E1D64020","TypeIndex: 797"
[LayoutCycleTracing] "SetValue(Margin=0,0,0,0)","LayoutCycleCountdown: 6","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalPanningRoot","Instance: 0x00000201E994EA00","TypeIndex: 673"
[LayoutCycleTracing] Layout Iteration Countdown: 5. Launching Measure Pass.
[LayoutCycleTracing] "LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "DesiredSize changed, old: 195.199997x91.199997 new: 195.199997x90.400002","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 5","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] Layout Iteration Countdown: 4. Launching Arrange Pass.
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 4","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x179.199997)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x179.199997)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Button","Name: closeButton","Instance: 0x00000201EA0088E0","TypeIndex: 782"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x179.199997)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,44.000000 360.000000x90.400002)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x90.400002)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x90.400002)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter","Name: PART_ScrollPresenter","Instance: 0x00000201E993ECC0","TypeIndex: 568"
[LayoutCycleTracing] "SetValue(Visibility=0)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Height=64.800003)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Visibility=0)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: VerticalPanningThumb","Instance: 0x00000201E994F800","TypeIndex: 499"
[LayoutCycleTracing] "SetValue(Height=88.800003)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: VerticalPanningThumb","Instance: 0x00000201E994F800","TypeIndex: 499"
[LayoutCycleTracing] "trackLength: 88.800003, repeatButtonsLength=24.000000","minimum: 0.000000, maximum: 0.199997, value: 0.000000, viewport: 91.199997","mouseIndicatorSize: 64.800003, touchIndicatorSize: 88.800003","mouseMinSize: 30.400000, touchMinSize: 32.000000, actualSize: 88.800003","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "SetValue(Height=0.000000)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeDecrease","Instance: 0x00000201E1D64020","TypeIndex: 797"
[LayoutCycleTracing] "SetValue(Margin=0,0,0,0)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalPanningRoot","Instance: 0x00000201E994EA00","TypeIndex: 673"
[LayoutCycleTracing] "SetValue(Visibility=0)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 4","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: PART_ScrollBarsSeparator","Instance: 0x00000201E995BA00","TypeIndex: 499"
[LayoutCycleTracing] Layout Iteration Countdown: 3. Launching Measure Pass.
[LayoutCycleTracing] "Measure(infx1072.800049)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "DesiredSize changed, old: 0.000000x0.000000 new: 14.400000x91.199997","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994FC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalRoot","Instance: 0x00000201E994FA00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Shapes.Rectangle","Name: VerticalTrackRect","Instance: 0x00000201E99456C0","TypeIndex: 702"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeIncrease","Instance: 0x00000201E1D62140","TypeIndex: 797"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994EC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1072.800049)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1070.800049)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "Measure(infx1070.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994FC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1070.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalRoot","Instance: 0x00000201E994FA00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(infx1070.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Shapes.Rectangle","Name: VerticalTrackRect","Instance: 0x00000201E99456C0","TypeIndex: 702"
[LayoutCycleTracing] "Measure(infx981.599976)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeIncrease","Instance: 0x00000201E1D62140","TypeIndex: 797"
[LayoutCycleTracing] "Measure(infx980.799988)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: Root","Instance: 0x00000201E994EC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 3","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] Layout Iteration Countdown: 2. Launching Arrange Pass.
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 2","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x180.000000)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x180.000000)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Button","Name: closeButton","Instance: 0x00000201EA0088E0","TypeIndex: 782"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x180.000000)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,44.000000 360.000000x91.199997)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x91.199997)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x91.199997)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter","Name: PART_ScrollPresenter","Instance: 0x00000201E993ECC0","TypeIndex: 568"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: PART_ScrollBarsSeparator","Instance: 0x00000201E995BA00","TypeIndex: 499"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: HorizontalThumb","Instance: 0x00000201E99476A0","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: HorizontalPanningThumb","Instance: 0x00000201E994F200","TypeIndex: 499"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: VerticalPanningThumb","Instance: 0x00000201E994F800","TypeIndex: 499"
[LayoutCycleTracing] "trackLength: 88.800003, repeatButtonsLength=24.000000","minimum: 0.000000, maximum: 0.000000, value: 0.000000, viewport: 90.400002","mouseIndicatorSize: 64.800003, touchIndicatorSize: 88.800003","mouseMinSize: 0.000000, touchMinSize: 0.000000, actualSize: 88.800003","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "SetValue(Height=0.000000)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeDecrease","Instance: 0x00000201E1D64020","TypeIndex: 797"
[LayoutCycleTracing] "SetValue(Margin=0,0,0,0)","LayoutCycleCountdown: 2","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalPanningRoot","Instance: 0x00000201E994EA00","TypeIndex: 673"
[LayoutCycleTracing] Layout Iteration Countdown: 1. Launching Measure Pass.
[LayoutCycleTracing] "LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "DesiredSize changed, old: 195.199997x91.199997 new: 195.199997x90.400002","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Measure(360.000000x1072.800049)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(400.000000x1162.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Measure(2289.600098x1202.400024)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Measure(infxinf)","LayoutCycleCountdown: 1","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] Layout Iteration Countdown: 0. Launching Arrange Pass.
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Border","Instance: 0x00000201EA6F0600","TypeIndex: 499"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.WindowChrome","Instance: 0x000001F1F4148590","TypeIndex: 781"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: ClientAreaPresenter","Instance: 0x00000201E90E0200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Frame","Instance: 0x00000201EC2F9B20","TypeIndex: 749"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E90DEC00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: MyApp.MainView.MainPage","Name: mainPage","Instance: 0x00000201EABD9350","TypeIndex: 766"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: outerContainer","Instance: 0x00000201EA6F0200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.ContentControl","Name: dialogContainer","Instance: 0x00000201EB2F6350","TypeIndex: 666"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995B600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Instance: 0x00000201E995B200","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201EAFF4200","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.ContentPresenter","Name: dialogContent","Instance: 0x00000201EAFF4C00","TypeIndex: 511"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 2289.600098x1202.400024)","LayoutCycleCountdown: 0","ClassName: MyApp.Workspace.FileManagement.SelectFilesDialog","Name: selectFilesDialog","Instance: 0x00000201EABD8250","TypeIndex: 724"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x179.199997)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A800","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x179.199997)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Button","Name: closeButton","Instance: 0x00000201EA0088E0","TypeIndex: 782"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 400.000000x179.199997)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995A600","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,44.000000 360.000000x90.400002)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.ScrollView","Instance: 0x00000201EABD8030","TypeIndex: 512"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x90.400002)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: PART_Root","Instance: 0x00000201E995CC00","TypeIndex: 673"
[LayoutCycleTracing] "Arrange(0.000000,0.000000 360.000000x90.400002)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollPresenter","Name: PART_ScrollPresenter","Instance: 0x00000201E993ECC0","TypeIndex: 568"
[LayoutCycleTracing] "SetValue(Visibility=0)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Height=64.800003)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Primitives.Thumb","Name: VerticalThumb","Instance: 0x00000201E9945B00","TypeIndex: 718"
[LayoutCycleTracing] "SetValue(Visibility=0)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: VerticalPanningThumb","Instance: 0x00000201E994F800","TypeIndex: 499"
[LayoutCycleTracing] "SetValue(Height=88.800003)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: VerticalPanningThumb","Instance: 0x00000201E994F800","TypeIndex: 499"
[LayoutCycleTracing] "trackLength: 88.800003, repeatButtonsLength=24.000000","minimum: 0.000000, maximum: 0.199997, value: 0.000000, viewport: 91.199997","mouseIndicatorSize: 64.800003, touchIndicatorSize: 88.800003","mouseMinSize: 30.400000, touchMinSize: 32.000000, actualSize: 88.800003","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Primitives.ScrollBar","Name: PART_VerticalScrollBar","Instance: 0x00000201EA9FBC10","TypeIndex: 770"
[LayoutCycleTracing] "SetValue(Height=0.000000)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Primitives.RepeatButton","Name: VerticalLargeDecrease","Instance: 0x00000201E1D64020","TypeIndex: 797"
[LayoutCycleTracing] "SetValue(Margin=0,0,0,0)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Name: VerticalPanningRoot","Instance: 0x00000201E994EA00","TypeIndex: 673"
[LayoutCycleTracing] "SetValue(Visibility=0)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Grid","Instance: 0x00000201E995BE00","TypeIndex: 673"
[LayoutCycleTracing] "SetValue(Visibility=1)","LayoutCycleCountdown: 0","ClassName: Microsoft.UI.Xaml.Controls.Border","Name: PART_ScrollBarsSeparator","Instance: 0x00000201E995BA00","TypeIndex: 499"
Microsoft.UI.Xaml.dll!00007FFAF547003F: 88000FA8 - AG_E_LAYOUT_CYCLE
Layout Iteration Countdown: 7. Launching Measure Pass.
Layout Iteration Countdown: 6. Launching Arrange Pass.
Layout Iteration Countdown: 5. Launching Measure Pass.
Layout Iteration Countdown: 4. Launching Arrange Pass.
Layout Iteration Countdown: 3. Launching Measure Pass.
Layout Iteration Countdown: 2. Launching Arrange Pass.
Layout Iteration Countdown: 1. Launching Measure Pass.
Layout Iteration Countdown: 0. Launching Arrange Pass.
Exception thrown at 0x00007FFB560873FA (KernelBase.dll) in MyApp.exe: WinRT originate error - 0x802B0014 : 'Layout cycle detected. Layout could not complete.'.
```
### Actual behavior
_No response_
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
1.8.260204000
### Windows version
Windows 11 (24H2): Build 26100
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the issue with the partial XAML, especially the ScrollView settings, vertical alignment, display scaling, and layout-cycle trace. Done means the layout cycle no longer crashes and the ScrollView does not show a scrollbar when no scrolling is needed; the issue does not name source files or tests to inspect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100