Summary: | Save as > HTML or direct gif export loses drawing objects, charts and formulas as invalid gif | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Stéphane Guillou (stragu) <stephane.guillou> |
Component: | filters and storage | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | info, noelgrandin, telesto |
Priority: | high | Keywords: | bibisected, bisected, filter:html, regression |
Version: | 7.6.0.0 alpha1+ | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | target:24.2.0 target:7.6.3 | ||
Crash report or crash signature: | Regression By: | Noel Grandin | |
Bug Depends on: | |||
Bug Blocks: | 108799, 109323 | ||
Attachments: |
sample ODT with various objects to save as HTML
after 7.6.3 patch, comparison original (left) and saved as HTML (right) |
Description
Stéphane Guillou (stragu)
2023-07-29 22:25:50 UTC
Had already been noticed by Gabor in bug 142887 comment 4. Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f76acf9bd97e65ba50303b6e5a25e5877996ebe1 tdf#156525 Save as > HTML loses drawing object as invalid gif 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. Thank you Noel, fix verified in: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 42364fbfafaa95773c073cc080142b64ec1786fb CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Ok to cherrypick to 7.6? (also repro on macOS with 7.6.2.1) (In reply to Stéphane Guillou (stragu) from comment #3) > Ok to cherrypick to 7.6? I see that the commit caters for some transparency->alpha stuff, so I assume it's not OK to cherrypick as-is. Any chance for a reduced fix for 7.6, Noel? The issue doesn't affect just shapes: formulas, QR codes and fontworks are also lost. *** Bug 157544 has been marked as a duplicate of this bug. *** As in duplicate bug 157544, also affect direct export of object (like a chart) to gif. (In reply to Stéphane Guillou (stragu) from comment #4) > > Any chance for a reduced fix for 7.6, Noel? The issue doesn't affect just > shapes: formulas, QR codes and fontworks are also lost. Cherry pick at https://gerrit.libreoffice.org/c/core/+/157457 Noel Grandin committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/f22c23e71d4ae628e9e90ee98d22d1fc8fca1619 tdf#156525 Save as > HTML loses drawing object as invalid gif It will be available in 7.6.3. 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. Created attachment 190009 [details] sample ODT with various objects to save as HTML Thanks Noel, but I just tested a 7.6.3 build that includes your patch but I still get wrong gifs as an output. Can you please test with the attached document in the 7.6 branch? Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community Build ID: ba808a28f5ea365eaf8fe5d9c7c91b417633d75f CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Created attachment 190010 [details]
after 7.6.3 patch, comparison original (left) and saved as HTML (right)
Noel Grandin committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/fbb5ab3e0ecb862fa5c48ef4640859c4aeb77984 tdf#156525 Save as > HTML loses drawing object as invalid gif It will be available in 7.6.3. 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. |