| Summary: | Text duplicated in XHTML export | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Stéphane Guillou (stragu) <stephane.guillou> |
| Component: | Draw | Assignee: | Svante Schubert <svante.schubert> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | michael.stahl, svante.schubert |
| Priority: | medium | Keywords: | bibisected, bisected, regression |
| Version: | 7.1.5.2 release | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=118637 https://bugs.documentfoundation.org/show_bug.cgi?id=154960 https://bugs.documentfoundation.org/show_bug.cgi?id=155244 https://bugs.documentfoundation.org/show_bug.cgi?id=156093 |
||
| Whiteboard: | target:7.6.0 target:7.5.4 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108799 | ||
| Attachments: |
test ODG
resulting HTML New reuslt, after adjusting filter for this test case comparison: ODG in LO; export to XHTML by 7.5.3; export to XHTML by 7.6 alpha0+ |
||
|
Description
Stéphane Guillou (stragu)
2023-04-24 15:21:28 UTC
Created attachment 186889 [details]
resulting HTML
I can reproduce this issue and will try to take a closer look on it (but with a low priority in my work queue).. Created attachment 186944 [details]
New reuslt, after adjusting filter for this test case
Initial feedback, as I found the erroneous recursion used for emulating floating images (and their floating siblings).
I will need to create a test case for this floating to make sure that this previous functionality can co-exist with this test case.
I have done several enhancements in the OASIS ODF TC Github, where we synch the XSLT filter with the LO version to create the HTML version of the ODF specification. All current changes can be found at: https://github.com/oasis-tcs/odf-tc/commit/2a76ccd24030e16ad284349ca75187e1a96f38e0 This will obviously break the floating functionality but it is a good start as the document looks very similar to the input now, colors, position, etc. added! :-) Thanks to Thorsten Behrens who organized a hackfest in Hamburg and invited me and Michael Stahl, who brought this issue up and will - hopefully ;-) - assist in merging the existing updates in the ODF-TC repo and with automated regression tests. This motivated me to fix this issue right away - even if there was no real priority.. Excellent, thank you for working on it and looking forward to seeing the improvements merged :) With Michaels help - he merged the earlier LO XSLT including fixes (see https://github.com/oasis-tcs/odf-tc/pull/46) - I finished my part of work on https://github.com/oasis-tcs/odf-tc/pull/47 Michael is now taking the work back to LO repo and is updating the regression tests to the fixes we made (to avoid failing tests due our fixes (false positives )) ;-) \o/ Svante Schubert committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e857b12dada1468cb3bdb49ed5ea636df0b6d153 tdf#154989 filter: XHTML export: avoid duplicated frames It will be available in 7.6.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. Svante Schubert committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/cb27c6c1b82272e8812bcb446e7179cc4f32bf34 tdf#154989 filter: XHTML export: avoid duplicated frames It will be available in 7.5.4. 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 both, fabulous improvements in similarity to original, and structure of the source, in: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 88bd66d258de5fee3d35aba80c61fec49eb2a969 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 187199 [details] comparison: ODG in LO; export to XHTML by 7.5.3; export to XHTML by 7.6 alpha0+ Comparison of exports with example ODG. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 88bd66d258de5fee3d35aba80c61fec49eb2a969 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded |