Bug 2354332

Summary: Regression in SDL2_image 2.8.6 not setting alpha channel
Product: [Fedora] Fedora Reporter: Sandro <gui1ty>
Component: SDL2_imageAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: contribs, igor.raits, ngompa13, sergio, walter.pete
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: SDL2_image-2.8.8-1.fc43 SDL2_image-2.8.8-1.fc42 SDL2_image-2.8.8-1.fc41 SDL2_image-2.8.8-1.fc40 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-27 01:39:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro 2025-03-23 13:44:05 UTC
With SDL2_image 2.8.6 one test started to fail for python-pysdl2:

>       assert img_red == colors['red']
E       assert Color(r=255, g=0, b=0, a=0) == Color(r=255, g=0, b=0, a=255)
E         
E         Full diff:
E         - Color(r=255, g=0, b=0, a=255)
E         ?                          ^^^
E         + Color(r=255, g=0, b=0, a=0)
E         ?                          ^
sdl2/test/sdl2ext_image_test.py:76: AssertionError

It appears the alpha channel is no longer set. The issue has been fixed in release 2.8.8.

Reproducible: Always

Comment 1 Sandro 2025-03-23 13:46:01 UTC
More details in the linked upstream issue, the fix for which is the only change for release 2.8.8.

Comment 2 Fedora Update System 2025-03-27 01:35:26 UTC
FEDORA-2025-b63d13224b (SDL2_image-2.8.8-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b63d13224b

Comment 3 Fedora Update System 2025-03-27 01:39:55 UTC
FEDORA-2025-b63d13224b (SDL2_image-2.8.8-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2025-03-27 14:12:05 UTC
FEDORA-2025-a668add331 (SDL2_image-2.8.8-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-a668add331

Comment 5 Fedora Update System 2025-03-27 14:12:34 UTC
FEDORA-2025-22de5824ee (SDL2_image-2.8.8-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-22de5824ee

Comment 6 Fedora Update System 2025-03-27 14:12:45 UTC
FEDORA-2025-76d84aed78 (SDL2_image-2.8.8-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-76d84aed78

Comment 7 Fedora Update System 2025-03-28 15:26:20 UTC
FEDORA-2025-a668add331 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-a668add331`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-a668add331

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-03-28 15:59:41 UTC
FEDORA-2025-76d84aed78 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-76d84aed78`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-76d84aed78

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-03-28 16:18:17 UTC
FEDORA-2025-22de5824ee has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-22de5824ee`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-22de5824ee

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-03-31 01:24:06 UTC
FEDORA-2025-a668add331 (SDL2_image-2.8.8-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-04-01 01:30:56 UTC
FEDORA-2025-22de5824ee (SDL2_image-2.8.8-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2025-04-05 01:56:30 UTC
FEDORA-2025-76d84aed78 (SDL2_image-2.8.8-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.