Summary: | Saving DOCX as ODT/DOC loses text highlight | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Kevin Suo <suokunlong> |
Component: | Writer | Assignee: | Tamás Zolnai <zolnaitamas2000> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | barta, michael.stahl, suokunlong, xiscofauli, zolnaitamas2000 |
Priority: | medium | Keywords: | bibisected, regression |
Version: | 4.2.0.0.beta1 | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=64490 https://bugs.freedesktop.org/show_bug.cgi?id=65404 |
||
Whiteboard: | target:4.4.0 target:4.2.7 target:4.3.1 | ||
Crash report or crash signature: | Regression By: | ||
Attachments: | test docx file with text highlighted |
Apache OpenOffice 4.1 does not lose the highlight. Saving as ".doc" also loses highlight. I confirm loss of highlighting when saving DOCX as ODT or DOC under Win7x64 bug reproducible with LibO 4.2.4.2 and 4.2.0.4 not reproducible with 4.1.0.4 I haven't tried intermediate version but this his probably a 4.2.x regression Reproduced with 4.2.0.0.beta1 - Ubuntu 12.04 x86 Not reproduced with 4.1.6.2 Besides Bug 64490, maybe related too with Bug 65404. I saw partial fix (display highlighting imported from DOCX) to those bug applied in 4.2.0.0.beta1, not yet in 4.1.6.2 : https://bugs.freedesktop.org/show_bug.cgi?id=64490#c14 eh... what *is* this stuff? it doesn't show up on either the character formatting or the paragraph formatting dialog? in 4.1.6.2 it was simply the char background colour, which is sensible... bibisect range: a9a0933ec67eab0ec31c8fadb60fb8e8e3e90485..69f61526cd4268a330be1e835e9e52f9b1dbde50 [guessed[ regression from: commit 8b949134441056a1455d67ddfdd7e0bc5f2ee682 Author: Zolnai Tamás <zolnaitamas2000@gmail.com> AuthorDate: Sun Sep 29 10:24:53 2013 +0200 fdo#65403, fdo#65404 DOCX export/import of character highlight Zolnai Tamas committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b5e60724ac73bb0e62b249145a8931fd6166bb69 fdo#80986: disable highlight DOCX import 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. The second character background color support was implemented partly. It caused this problem, so I disabled the code which import highlight as PROP_CHAR_HIGHLIGHT which means the second character background attribute and set back the import filter to merge the two background color to one background attribute identified by PROP_CHAR_BACKGROUND, until highlight support is finished. Zolnai Tamas committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4336ba9770efb61d4131c005fb1d16ab2be20928&h=libreoffice-4-2 fdo#80986: disable highlight DOCX import It will be available in LibreOffice 4.2.7. 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. Zolnai Tamas committed a patch related to this issue. It has been pushed to "libreoffice-4-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e9297597088f36d4072515fd46d1299381dcfe6b&h=libreoffice-4-3 fdo#80986: disable highlight DOCX import It will be available in LibreOffice 4.3.1. 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. Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit] |
Created attachment 102342 [details] test docx file with text highlighted The attached DOCX file contains text with highlight. When save as ODT, highlight is lost. Steps to reproduce: 1. Save the test docx as ODT. Current Behaviour: Yellow highlight is lost. OS: Win XP SP3 LibreOffice 4.3.0.2.