Skip to content

DrawReversibleLine / DrawReversibleFrame draws in wrong position with multiple monitors #13459

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

Open
coderb opened this issue May 14, 2025 · 0 comments
Labels
needs-area-label untriaged The team needs to look at this issue in the next triage

Comments

@coderb
Copy link

coderb commented May 14, 2025

.NET version

9.0.5

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Code used to work. Seems like a regression in either dotnet or windows itself

Issue description

Tracking for zooming a graph in an application that has been working for many years suddenly started misbehaving around 12/2024.

With multiple monitors only, the graphics operations appear in an incorrect position on the desktop, outside of the application's window.

See demo code below.

Also see this stack overflow issue:

https://stackoverflow.com/questions/79595420/system-windows-form-method-controlpaint-drawreversibleframe-seems-to-have-a-bu

Steps to reproduce

Run this app on a system with latest windows and multiple monitors.
https://github.com/coderb/DrawReversibleLineBug

@coderb coderb added the untriaged The team needs to look at this issue in the next triage label May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-area-label untriaged The team needs to look at this issue in the next triage
Projects
None yet
Development

No branches or pull requests

1 participant