Index PNG import loses colors after GIMP has been running for a long time.
GIMP version: GIMP 2.10.6
Operating System: Windows 7 SP1
Package: gimp.org Installer
Description of the bug
After GIMP has been left open for a while, it starts to improperly open PNG8 (indexed PNG) files with transparently. The resulting file will be at least one missing color in the color table (replaced with transparency in the image), and often will have another color that is further corrupted.
Resaved after corruption:
Reproduction
Is the bug reproducible? Frequently. As per title, it depends on how long GIMP is loaded
Reproduction steps:
- Open GIMP and open file or two.
- Leave GIMP open at least overnight, maybe longer
- Open an indexed PNG with transparency
Expected result: PNG will open normally and display properly.
Actual result: Image will be corrupted as described in the full description.
Additional information
What is so unusual is that it is only reproducible if GIMP has been left open for a while. In fact, my current workaround is simply to restart GIMP, which will then allow it to load the PNG properly.