Download it now!
Bug 106188 - Unused colors not removed from document colors list
Summary: Unused colors not removed from document colors list
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Color-Picker-Widget Document-Colors-Palette
  Show dependency treegraph
Reported: 2017-02-25 14:32 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-03-23 05:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-02-25 14:32:53 UTC
1) Open Writer
2) Type some text and set its color to Green
3) Open up the color widget and notice that Green is in the document colors palette
4) Press undo or set the selected text color back to automatic and see that Green wasnt removed from the document colors palette

Build ID: 36de6c50684c8241969a2064d30aff41e0bc5d97
CPU threads: 2; OS: Linux 3.19; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-02-22_23:33:52
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 Heiko Tietze 2017-02-25 21:01:49 UTC
Confirming. The reverted color remains in the document colors even after reloading it. The property is stored in the document as <style:style style:name="T2" style:family="text"><style:text-properties fo:color="#ffff00"/></style:style>. But <text:span text:style-name="T2"> isn't used anymore in the document.

Likely the issue is true for all other properties as well. For the colors a solution could be to compare the list of styles against what is actually used.

Build ID: 5.3.0-2
CPU Threads: 8; OS Version: Linux 4.9; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: de-DE (en_US.UTF-8); Calc: group
Comment 2 QA Administrators 2019-03-23 03:17:29 UTC Comment hidden (obsolete)
Comment 3 Dieter 2019-03-23 05:31:15 UTC
Still present in

Version: (x64)
Build ID: 91cdf22b88a4f7bec243c8fb187627e766d3294c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-08_00:38:10
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded