| Summary: | RTF import: Numbering is duplicated | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Xisco Faulí <xiscofauli> |
| Component: | Writer | Assignee: | Justin L <jluth> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | jluth, xiscofauli |
| Priority: | medium | Keywords: | bibisected, bisected, filter:rtf, regression |
| Version: | 6.0.0.0.alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=82173 https://bugs.documentfoundation.org/show_bug.cgi?id=146489 |
||
| Whiteboard: | target:6.0.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 112772 | ||
|
Description
Xisco Faulí
2017-07-04 15:16:37 UTC
Regression introduced by: author Justin Luth <justin_luth@sil.org> 2017-05-30 14:13:47 (GMT) committer Justin Luth <justin_luth@sil.org> 2017-06-09 05:35:18 (GMT) commit fdfdea4d5af51a68f2d497cc5c3359d74c385fd5 (patch) tree 04f33b8186ac602769a0495193a664f6faae1229 parent 691d1e90f62ce3f1930d3faf74af385d92f00d59 (diff) tdf#82173 writerfilter: apply char properties to footnote The char property values as defined in w:rPr were not connected to the in-text footnote or endnote. Bisected with bibisect-linux64-6.0 Adding Cc: to Justin Luth Same behaviour seen in attachment 56090 [details] from bug 45182 Same result with attachment 104064 [details] from bug 81944 Easy to replicate by saving a working .docx in .rtf format. Only seems to affect .rtf - no idea why RTF would act differently here. A simple fix is to only copy CONTEXT_CHARACTER formatting. RTF!!! writerfilter/source/dmapper/DomainMapper_Impl.cxx:1725: ::PushFootOrEndnote topContext is PARA[1] CHAR[0] DOCX!! writerfilter/source/dmapper/DomainMapper_Impl.cxx:1725: ::PushFootOrEndnote topContext is PARA[0] CHAR[1] RTF export is terribly wrong, so just avoiding the problem when detecting RTFImport. proposed fix: https://gerrit.libreoffice.org/39775 Abandoned the first proposed fix in favour of https://gerrit.libreoffice.org/40430. RTF documents still couldn't do what bug 82173 fixed for .docx - keeping the char formatting around a footnote character. This fix does that, resolving the regression at the same time. Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=756b2431f0006a01affa7c92c2dede2b11166001 tdf#108949 rtf writerfilter: apply char properties to footnote It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Verified in Version: 6.0.0.0.alpha0+ Build ID: 50799a721c7ddcf9475a1b79984ed64ddd7cdf57 CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group |