Open ramezgerges opened 3 weeks ago
This is curious. If RenderSize got updated, then SizeChanged should be enqueued. That then means it's enqueued but there is no new frame so it's not fired.
After we set RenderSize, we call EnqueueForSizeChanged
here
Maybe RequestAdditionalFrame is needed at the end of EnqueueForSizeChanged? But RequestAdditionalFrame isn't done in this code path in WinUI 😕
Thnking about this again, RequestAdditionalFrame shouldn't be needed. RenderSize is supposed to change during Arrange. Then, after arrange is completed, we should be hitting this path:
Current behavior
When a window is resized (e.g. by dragging its end), elements that are resized with the window won't get SizeChanged. Their RenderSize will change, but without an accompanying SizeChanged.
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response