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

MAUI images not cross-platform on Windows? #1122

Closed
techfan101 opened this issue Dec 13, 2022 · 3 comments · Fixed by dotnet/maui#14816
Closed

MAUI images not cross-platform on Windows? #1122

techfan101 opened this issue Dec 13, 2022 · 3 comments · Fixed by dotnet/maui#14816
Labels
dotnet-maui/tech dotnet-mobile/prod Pri1 High priority, do before Pri2 and Pri3 product-question Product usage related questions [org]

Comments

@techfan101
Copy link

techfan101 commented Dec 13, 2022

On this page, in the "Draw an Image" section, there is a notation that PlatformImage is not supported on Windows. It seems crazy to have a "Multi-Platform Application UI", from Microsoft, that supports all platforms except Microsoft Windows.

I've asked this before, but I was hoping, with the release of .NET 7, that this might have changed. However, it appears it is still an issue.

Am I really forced to write platform-specific code for something as simple as drawing an image on a canvas? Is there even a way to do this on Windows?

Any idea if/when there will be a mechanism for drawing images on a canvas that is truly multi-platform?

It seems this should be slightly embarrassing for Microsoft...that an example in their documentation has to explicitly exclude their own operating system.

For further examples of the havoc this causes, I direct you to the following page: .NET MAUI / Graphics / Images.

The many, many notes/warnings about the incompatibilities inherent in MAUI image handling reinforce the impression that MAUI is "not ready for prime time". I honestly hope this impression, and the delays resolving it, won't negatively impact its future.

Thanks in advance for your time.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Dec 13, 2022
@issues-automation issues-automation bot added dotnet-maui/tech dotnet-mobile/prod Pri1 High priority, do before Pri2 and Pri3 labels Dec 13, 2022
@davidbritch davidbritch added the product-question Product usage related questions [org] label Dec 14, 2022
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label Dec 14, 2022
@davidbritch
Copy link
Contributor

Hi @techfan101

I hear you and I agree. There have been multiple attempts to fix this issue (see dotnet/Microsoft.Maui.Graphics#464 and dotnet/maui#9948) but it didn't make it in for .NET 7.

I've sent a message to the engineers to find out how/when this will get resolved. I'll get back to you when I know more.

@techfan101
Copy link
Author

Thank you for trying @davidbritch. I really do appreciate it. I hope the response is positive.

However, I already waited 6 months for a fix in .NET 7. From the discussion, it looks like we're waiting another year for a fix in .NET 8 (best case). And, I'm not even counting how long I waited for MAUI to hit GA in the first place.

Drawing an image is about as basic as it gets for a UI. I can't believe it takes a year and a half to rename a couple of classes and interfaces. That's crazy!

Basic issues like this coupled with the ever-growing backlog are creating a bad impression in the development community. At this pace, MAUI will fail. It will certainly be great when it's done, but there will be no one left waiting to use it.

I hope Microsoft adds more resources to the project (if that's the problem).

For my part, I started transitioning future development to Flutter. I guess I'll continue along that path, which is heartbreaking.

I genuinely wanted MAUI to succeed. I prefer C# to Dart and VS Pro to VS Code, but I guess it's time to move on.

Maybe I'll check back, in another 6 months, to see if the situation has improved or continues to deteriorate. I might still have one final opportunity to try a project in MAUI :)

Best of luck and thanks again for trying.

@davidbritch
Copy link
Contributor

Hi @techfan101

The engineers have created a new PR to fix this issue: dotnet/maui#12104

But you may be right as to the release in which this will land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-maui/tech dotnet-mobile/prod Pri1 High priority, do before Pri2 and Pri3 product-question Product usage related questions [org]
Projects
None yet
3 participants