Description: Saving to DOCX changes highlighting color. Steps to Reproduce: Consider a text with a word highlighted in "yellow". Save to DOCX format and open the produced DOCX file. Actual Results: Observe that the highlighting is now in "yellow2" Expected Results: Expectation : highlighting color "yellow" should have been preserved. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Created attachment 133581 [details] Text file with a word highlighted
Comment on attachment 133581 [details] Text file with a word highlighted See instructions in the file that describe the bug
Hi oc-spam65, I don't reproduce with LO 5.5.0.0.alpha0+ Build ID: 0e6297932252403883a6057feee488e4ee2bc360 CPU threads: 2; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@39, Branch:master, Time: 2017-05-23_00:14:17 Locale: fr-FR (fr_FR); Calc: CL nor with LO 5.3.0.0.alpha1 Build ID: f4ca1573fcf445164c068c1046ab5d084e1b005f Threads CPU : 2; Version de l'OS :Windows 6.1; UI Render : par défaut; Locale : fr-FR (fr_FR); Calc: CL Linux only?
I can't reproduce it in Version: 5.4.0.0.alpha1+ Build ID: 74d2e606fd3605fe0a585f596eaa215ae4e20d18 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Locale: en-US (ca_ES.UTF-8); Calc: group Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
I can confirm the color highlight color changes after saving to DOCX and reloading it with Version: 5.5.0.0.alpha0+ Build ID: d57e6cd9dcc96112994ca2b14ac45896e86b26e5 CPU threads: 4; OS: Windows 6.19; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-05-18_22:43:07 Locale: nl-NL (nl_NL); Calc: CL But I expect this to be a dupe of bug 107793
"I can confirm the color highlight color changes after saving to DOCX and reloading" Message to the people who could not reproduce the bug: did you really save to DOCX and then load the produced DOCX file? "But I expect this to be a dupe of bug 107793" I do not agree because bug 107793 is about _multiple_ color highlighting. In this bug there is only one highlighted word. This is more fundamental.
To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
(In reply to oc-spam65 from comment #6) > "I can confirm the color highlight color changes after saving to DOCX and > reloading" > > Message to the people who could not reproduce the bug: did you really save > to DOCX and then load the produced DOCX file? > > "But I expect this to be a dupe of bug 107793" > > I do not agree because bug 107793 is about _multiple_ color highlighting. In > this bug there is only one highlighted word. This is more fundamental. Sorry for my latest message. it's incorrect. Could you please bisect the bug and see whether it was introduced by 8519d51b3a06a84d0d6418651e66e9bb534f1788 as per bug 107793 ? More info: https://wiki.documentfoundation.org/QA/Bibisect
I did the bisection and it seems the bug is indeed due to commit 8519d51b3a06a84d0d6418651e66e9bb534f1788. --- ~/bibisect-50max$ git bisect good a15486a1357463602704e98940d162b2759cfeec is the first bad commit commit a15486a1357463602704e98940d162b2759cfeec Author: Matthew Francis <mjay.francis@gmail.com> Date: Wed May 27 20:14:34 2015 +0800 source-hash-8519d51b3a06a84d0d6418651e66e9bb534f1788 commit 8519d51b3a06a84d0d6418651e66e9bb534f1788 Author: Zolnai Tamás <zolnaitamas2000@gmail.com> AuthorDate: Wed Mar 18 10:31:11 2015 +0100 Commit: Zolnai Tamás <zolnaitamas2000@gmail.com> CommitDate: Sat Mar 21 16:19:09 2015 +0100 Char highlight: export character background to MSO formats based on settings Change-Id: Iaaf9e7ee5e61cfabb0d675b83fa71776dece87e2 :040000 040000 615dce967ba269228ef32e6f61e2bd93b8e409d4 68b3ba50c281698db5c540ab9ad4615155c46039 M opt ---
Though not exactly the same bug... In my report, I complained that the highlighting color changed from "Yellow" to "Yellow2". In the identified bug, the highlighting color disappears.
(In reply to oc-spam65 from comment #10) > Though not exactly the same bug... In my report, I complained that the > highlighting color changed from "Yellow" to "Yellow2". In the identified > bug, the highlighting color disappears. Hi, Thanks for bisecting this. Although the behaviour is slightly different, it looks like both bugs have the same root cause. Closing as RESOLVED DUPLICATED. *** This bug has been marked as a duplicate of bug 107793 ***
For a conclusion, I can repeat here the idea explained in bug 107793 by T. Zolnai: """ In MSO there are two kind of character background called highlighting and shading. By default LO highlighting is saved as MSO highlighting, but MSO highlighting has only a 16 color palette """ """ At the Tools -> Options -> Load/Save -> Microsoft Office you can change the default behavior to save LO highlighting as MSO shading """ This meets my need.