View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002153 | NoesisGUI | C# SDK | public | 2021-10-20 02:20 | 2021-10-20 13:01 |
| Reporter | DavidYawCSpeed | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1.1 | ||||
| Target Version | 3.1.2 | Fixed in Version | 3.1.2 | ||
| Summary | 0002153: PNG Alpha Transparency not applied properly depending on PNG format | ||||
| Description | We've got a PNG image which is not 32-bit RGBA. When displayed in some contexts, the alpha is not blended with the background properly. I have seen this issue on both Windows x64 and Linux ARM64. Workaround: Convert the image to full RGBA. Attached:
| ||||
| Steps To Reproduce | I can reproduce the issue very reliably in our real application, but in the real application, the Image object is 20 levels deep in the Visual Tree. But in a standalone application, with just the Image over top of a colored background, it works fine. Unfortunately, I'm not sure exactly what UI Controls need to be set up in order to trigger this bad alpha blending. However, I do know what is needed in a PNG image. Examining the images under Linux:
Using https://www.nayuki.io/page/png-file-chunk-inspector:
| ||||
| Attached Files | |||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-10-20 02:20 | DavidYawCSpeed | New Issue | |
| 2021-10-20 02:20 | DavidYawCSpeed | File Added: icon_batt_plug_in_broken.png | |
| 2021-10-20 02:20 | DavidYawCSpeed | File Added: icon_batt_plug_in_works.png | |
| 2021-10-20 02:20 | DavidYawCSpeed | File Added: Windows-ScreenshotTestApp.png | |
| 2021-10-20 02:20 | DavidYawCSpeed | File Added: Linux-PictureOfRealApp.jpg | |
| 2021-10-20 02:25 | DavidYawCSpeed | Description Updated | |
| 2021-10-20 02:41 | DavidYawCSpeed | Steps to Reproduce Updated | |
| 2021-10-20 10:28 | sfernandez | Assigned To | => sfernandez |
| 2021-10-20 10:28 | sfernandez | Status | new => assigned |
| 2021-10-20 10:28 | sfernandez | Target Version | => 3.1.2 |
| 2021-10-20 13:01 | sfernandez | Status | assigned => resolved |
| 2021-10-20 13:01 | sfernandez | Resolution | open => fixed |
| 2021-10-20 13:01 | sfernandez | Fixed in Version | => 3.1.2 |