Skip to content

GC#drawIcon draws *.ico(for some icons) with black background on Windows 10 #185

@tmssngr

Description

@tmssngr

Describe the bug
Please run the attached snippet on Windows 10 (default Windows mode: Dark, default app mode: light). It will get the icons for certain file types and render them. For some reason, the background of the images is rendered in black.
ProgramImageTest.java.txt

To Reproduce
See above.

Expected behavior
The background should be transparent.

Screenshots
Screenshot-Win10

Environment:
Windows 10, Version 21H1 (OS Build 19043.1706)

Metadata

Metadata

Assignees

Labels

WindowsHappens on Windows OSfix verifiedThe implemented fix has been verified with an I-buildregressionSomething that used to work

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions