Description
In a .NET MAUI app on Windows, cropping an Image control results in different cropped regions depending on the window state. Cropping while the window is minimized, then restoring/maximizing, shows a different crop area than performing the same crop while maximized. This causes visual inconsistencies and incorrect output while cropping images during or after window state changes.
Steps to Reproduce
Common steps:
- Download and open the attached .NET MAUI project.
- Select the target framework: Windows.
- Deploy and run the application.
Issue 1:
- Keep the window minimized.
- Click the “Crop Image” button 2–3 times.
- Note the visible cropped region.
- Close and re-run the app.
- Maximize the window.
- Click the “Crop Image” button 2–3 times.
- Observe that the cropped region differs from.
Issue 2:
- Keep the window minimized
- Click “Crop Image” button 2–3 times.
- Maximize the window and observe the cropped area; it differs from the expected region and from crops performed while maximized.
Link to public reproduction project repository
https://github.com/KerubananthanGanesan/NET-MAUI-Samples/tree/main/MauiImageCropping
Version with bug
10.0.0-rc.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
10.0.0-rc.1
Affected platforms
Windows
Affected platform versions
Windows-10.0.17763.0
Did you find any workaround?
No
Relevant log output
Description
In a .NET MAUI app on Windows, cropping an Image control results in different cropped regions depending on the window state. Cropping while the window is minimized, then restoring/maximizing, shows a different crop area than performing the same crop while maximized. This causes visual inconsistencies and incorrect output while cropping images during or after window state changes.
Steps to Reproduce
Common steps:
Issue 1:
Issue 2:
Link to public reproduction project repository
https://github.com/KerubananthanGanesan/NET-MAUI-Samples/tree/main/MauiImageCropping
Version with bug
10.0.0-rc.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
10.0.0-rc.1
Affected platforms
Windows
Affected platform versions
Windows-10.0.17763.0
Did you find any workaround?
No
Relevant log output