[MacCatalyst] Initial X, Y, Width and Height window values are not applied in CreateWindow override #27304
Labels
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
When overriding the CreateWindow method in App.xaml.cs to set initial window position and size on MacCatalyst, the X, Y, Width and Height values are not being applied correctly. but the window position remains at the default location instead of the specified X, Y, Width and Height.
Screen.Recording.2025-01-23.at.7.11.11.PM.mov
Steps to Reproduce
WindowPositioning.zip
Link to public reproduction project repository
No response
Version with bug
9.0.30 SR3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: