Created attachment 190234 [details] sample file Steps to reproduce: 1. Open attached document -> The black background is seen. It should be white instead. See comparison Reproduced with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 3649dc202bedf72e37c77993a1f7027bfdfc6d9e CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded [Bug found by office-interoperability-tools]
Regression introduced by: author Patrick Luby <plubius@neooffice.org> 2023-10-06 15:21:50 -0400 committer Patrick Luby <plubius@neooffice.org> 2023-10-06 22:31:00 +0200 commit b2ca39bc5e424e67e8fc7e8a044214feb09e39f7 (patch) tree 531c1945eec20a2839fc712b160b77ca01edaf7a parent c76fb134281a3d1fd56f8a6d07ad7111c85e17b9 (diff) tdf#157576 and tdf#157635 mask out black pixels Bisected with: bibisect-linux64-24.2 Adding Cc: to Patrick Luby
Created attachment 190235 [details] Comparsion LibreOffice 24.2 master vs MSO
I can confirm that b2ca39bc5e424e67e8fc7e8a044214feb09e39f7 causes this bug. The question is how can I tell if an imported .gif will suffer from bug 157635 or not. I will see if I can find if there are any differences in the rendering paths for this bug and bug 157635. I will post again when I have some news.
Patrick Luby committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a98000c028a3c68329fdb2047f51f8d271b2290c tdf#157793 limit tdf#157635 fix to only larger palettes It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4d0e2203d1ccceb4a742b02c267e613b50ca9370 tdf#157793: sd_png_export: Add unittest It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.