-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Win11 24H2 .NET bug rendering text to image using GDI+ #12910
Comments
@tracktownsoftware Fwiw, we use the same GDI+ APIs on .NET Framework as we do in .NET. @Olina-Zhang can you see if you can reproduce the behavior and validate that it only happens on .NET and not .NET Framework? |
@JeremyKuhne @Olina-Zhang |
We can use physical machine see the .NET and .NET framework have different results on Win11 24H2, not VMs |
Description
Previous to 24H2, running the same code to generate an image with text produced an identical image every time that passed a pixel-by-pixel comparison test. As of 24H2 the same images generated twice fail pixel-by-pixel comparison.
This is a .NET issue. The tests pass when I use .NET Framework 4.8.
Note: I reported this bug to Windows 11 feedback before realizing this is a .NET issue (https://aka.ms/AAuckmw).
Reproduction Steps
Repo with code to reproduce the bug: https://github.com/tracktownsoftware/Win11-24H2-ImageTextBug
Press the "Compare Images" button.
Expected behavior
Expected behavior:
Actual behavior
Actual behavior:
The same images are generated twice but fail pixel-by-pixel comparison. This started with the release of Windows 11 version 24H2.
Note: On a computer with 24H2 I changed the test app to use .NET Framework 4.8. The comparison tests passed, showing this to be a .NET issue.
Regression?
Yes this is a regression. If you run the repo test app with a Win11 version before 24H2 then it works.
Known Workarounds
Don't upgrade to Windows 11 to 24H2
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: