Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

Under certain conditions, program icons loaded on Windows via GDI+ have empty mask data, even though the original icon has proper mask data. As a result, these icons are printed with a black instead of a transparent background. Still these icons can contain valid alpha data in their usual 32-bit data.

With this change, alpha data is extracted for icons which are loaded without proper mask data to ensure that they have proper transparency information.

Fixes #715

…#715

Under certain conditions, program icons loaded on Windows via GDI+ have
empty mask data, even though the original icon has proper mask data. As
a result, these icons are printed with a black instead of a transparent
background. Still these icons can contain valid alpha data in their
usual 32-bit data.

With this change, alpha data is extracted for icons which are loaded
without proper mask data to ensure that they have proper transparency
information.

Fixes eclipse-platform#715
@github-actions
Copy link
Contributor

Test Results

   299 files  ±0     299 suites  ±0   6m 8s ⏱️ +27s
 4 098 tests ±0   4 090 ✅ ±0   8 💤 ±0  0 ❌ ±0 
12 206 runs  ±0  12 133 ✅ ±0  73 💤 ±0  0 ❌ ±0 

Results for commit 8086b49. ± Comparison against base commit 085376c.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Windows Hi-DPI] Program icons have black background

1 participant