Skip to content

SystemIcons.GetStockIcon with StockIconId.Settings returns an empty, all-black icon #12447

Closed

Description

.NET version

8.0.10

Tested on Windows 11 23H2 Build 22631.4391

Did it work in .NET Framework?

Not tested/verified

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

N/A

Issue description

Get an icon with

SystemIcons.GetStockIcon(StockIconId.Settings, StockIconOptions.SmallIcon)

The returned Icon is a black empty square - not an empty icon.

This feature was implemented in #8802

Steps to reproduce

See attached project

WinFormsApp1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

area-System.DrawingSystem.Drawing issuesexternal-OS-issueIssue caused by an external OS component such as Common Controls.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions