Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Image is not centered in AspectFill mode #10645

Open
vg12345 opened this issue Oct 12, 2022 · 6 comments · May be fixed by #17665
Open

[Windows] Image is not centered in AspectFill mode #10645

vg12345 opened this issue Oct 12, 2022 · 6 comments · May be fixed by #17665
Assignees
Labels
area-controls-image Image control platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@vg12345
Copy link

vg12345 commented Oct 12, 2022

Description

Image is not centered in AspectFill mode on Windows.
iOS and Android are OK.

Reproduced on ver. 6.0.541 (current) with Visual Studio 17.3.6

Attached:
MauiApp4 source code that demonstrates the bug:

MauiApp4.zip

Bug

Steps to Reproduce

Open attached MauiApp4 application that demonstrates the problem:
MauiApp4.zip

Link to public reproduction project repository

https://github.com/dotnet/maui/files/9766050/MauiApp4.zip

Version with bug

6.0.541 (current)

Last version that worked well

Unknown

Affected platforms

Windows

Affected platform versions

Windows SDK 10.0.19041

Did you find any workaround?

No response

Relevant log output

No response

@vg12345 vg12345 added the t/bug Something isn't working label Oct 12, 2022
@PureWeen PureWeen added platform/windows 🪟 area-image Image loading, sources, caching labels Oct 12, 2022
@PureWeen PureWeen added this to the Backlog milestone Oct 12, 2022
@ghost
Copy link

ghost commented Oct 12, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@RuddyOne
Copy link

This seems pretty basic to fix, not sure why this is in the backlog and not being fixed. Windows is still being treated like a platform that isn't supported.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels May 29, 2023
@Zhanglirong-Winnie
Copy link
Collaborator

Verified this issue with Visual Studio 17.7.0 Preview 1.0. Can repro on windows platform with sample project.
MauiApp4.zip
Screenshot 2023-05-29 165943

@edcache
Copy link

edcache commented Dec 13, 2023

I can't get the grid workaround to work. Can you provide an example with MAUI xaml @japarson ?

@MitchBomcanhao
Copy link

how is this still not fixed?

microspaze added a commit to microspaze/FFImageLoading.Maui that referenced this issue Apr 16, 2024
@PureWeen PureWeen modified the milestones: .NET 8 SR5, .NET 8 SR6 Apr 25, 2024
@sbloom82
Copy link

I am also running into this issue. I've been able to make some adjustments to the image's margin in the code behind to center then image, but it's a little laggy when resizing the window, not 100% correct, and not quite and ideal fix.

@Eilon Eilon added area-controls-image Image control and removed area-image Image loading, sources, caching labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-image Image control platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
Status: Possible
10 participants