Bug 85521

Summary: Colors of the document are not shown in the color picker
Product: LibreOffice Reporter: sophie <gautier.sophie>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: medium CC: vstuart.foote
Version: 4.4.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 85184    

Description sophie 2014-10-27 15:25:07 UTC
Hi, the new color picker has an option in the palette drop down list 'Document colors'. From what I understand it should collect the colors applied to the document (Font or Highlighting). But it remains empty whatever color I apply. 
I'm using Version: 4.4.0.0.alpha1+
Build ID: 7ef698355ad59c6fa263daa4ded124cf512e8926
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-10-27_09:37:25
To reproduce:
- add some text to writer document
- select a color in the Font color picker and apply it
- do the same for Highlighting
- save the document
- click on Font color icon and select Document colors
==> the list is empty.
Sophie
Comment 1 V Stuart Foote 2014-10-27 21:20:00 UTC
Confirming on Windows 7 sp1, 64-bit en-US with
Version: 4.4.0.0.alpha1+
Build ID: fa58d91094895a530648630fa64b8724ea1e4305
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-26_09:30:18

Color selections picked from the custom color picker show a swatch in the recent area. But nothing is being recorded into the "Document colors" palette--either from opening the document or after making color changes to font or highlighting (and would guess with the area fill when that is converted).

Also, when moving away from the color tools, and then returning--the Recent color swatches have been cleared.  Since they're not yet on the "Document colors" details of any custom color picked is lost.
Comment 2 Adolfo Jayme 2014-12-09 02:28:45 UTC
(In reply to sophie from comment #0)
> Hi, the new color picker has an option in the palette drop down list
> 'Document colors'. From what I understand it should collect the colors
> applied to the document (Font or Highlighting). But it remains empty
> whatever color I apply. 

What I understood was that this list of colors wasn’t a collection of colors you’ve applied (that’s the purpose of “Recent”), but “Document colors” is actually meant to display the colors in a document’s theme (if you create a doc in recent versions of Word, it will have a color theme.) Of course, we still don’t support creating documents with color themes. See also http://blogs.igalia.com/jaragunde/2014/05/28/tales-of-libreoffice-interoperability-font-and-paragraph-colors/

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.