Skip to content

CopyFromScreen tests causing intermittent failures #8804

@mellinoe

Description

@mellinoe
System.Drawing.Tests.GraphicsTests.CopyFromScreen_ValidRange_AffectsGraphics(sourceX: 1, sourceY: 1, destinationX: 2, destinationY: 2, width: 3, height: 3) [FAIL]
20:39:03         System.ComponentModel.Win32Exception : The handle is invalid
20:39:03         Stack Trace:
20:39:03              at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
20:39:03              at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize)

I believe these tests are invalid, given that they are failing against the .NET Framework. We should give them some scrutiny, and potentially remove them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.DrawingSystem.Drawing issuesdisabled-testTracking tests that have been disabled to prevent run failures.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions