Bug 130608 - LibreOffice Writer - Highlight Colors do not stay as saved
Summary: LibreOffice Writer - Highlight Colors do not stay as saved
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.8.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-12 04:12 UTC by Sgt
Modified: 2020-02-15 02:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
LO Writer - Custom Highlight Colors defined vs Colors Saved (20.27 KB, image/png)
2020-02-12 04:13 UTC, Sgt
Details
Sample Document .docx file (4.13 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-02-12 14:44 UTC, Sgt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sgt 2020-02-12 04:12:21 UTC
Description:
When creating/editing a docx file in LibreOffice, the custom colors used to highlight text do not stay highlighted. The colors seem to revert to a default color palette.

Actual Results:
Custom Highlight Colors do not stay the same

Expected Results:
Keep custom defined Highlight Colors


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with docx files specifically.
Comment 1 Sgt 2020-02-12 04:13:51 UTC
Created attachment 157812 [details]
LO Writer - Custom Highlight Colors defined vs Colors Saved
Comment 2 Xisco Faulí 2020-02-12 09:45:27 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 3 Sgt 2020-02-12 14:44:50 UTC
Created attachment 157819 [details]
Sample Document .docx file

Here is a sample document
Comment 4 Dieter 2020-02-13 08:12:05 UTC
Stefane, I tried to reproduce the bug, but steps are not clear to me.

1. I opened the attached file from comment 3 in LO Writer and MS Word. Colors are the same.
2. I saved file in wrtier as docx file and reopened it. Colors are still the same.

I used

Version: 7.0.0.0.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

So Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided.
Comment 5 Sgt 2020-02-14 20:45:52 UTC
Oh! Gotcha.

I'm using 6.2.8.2 (x64)

Steps to Reproduce:
1. Create new LibreOffice Writer Document
2. Write some text
3. Select characters
4. Click on "Highlight Color" Tool
5. Click on Custom Color...
6. in "Hex #:" textarea, write: eca4ff
7. Click Ok
8. Save As
9. In "Save as type:" choose "Word 2007-2019 (*.docx)"
10. Save File
11. Reopen File

That's it!
Comment 6 Regina Henschel 2020-02-14 21:41:48 UTC
The docx format has only some special colors as "highlighting" and your eca4ff does not belong to them and a nearby color is used. If you want eca4ff as color, you need to use it as ordinary background color. LibreOffice has a switch for that. Go to Tools > Options > Load/Save > Microsoft Office. Set the option 'Export as' from  'Highlighting' to 'Shading' in section 'Character Highlighting'.
Comment 7 Sgt 2020-02-15 02:38:53 UTC
No Way!!!... Thank you!!!