Apache OpenOffice (AOO) Bugzilla – Issue 125699
No automatic font color adaption to paragraphbackground or page background color
Last modified: 2015-01-18 14:43:15 UTC
Color of characters should switch from black to white for dark paragraph background colors like blue or black. Works fine for dark character background color Still worked fine with AOO 4.1.1 Steps how to reproduce: 1. With AOO 4.2-dev open blank new Writer document 2. add some paragraps with text as 1 … 5 in Test area 3. Apply paragraph background color with menu Format > Paragraph > Area (tab) > Fill = Blue Expected: Character color switches to “black” Actual: no font color adaption
Created attachment 84003 [details] Sample Document with screenshot
For black page background automatic character color should change from black to white, what also does not work with 4.2-dev
I tried to replicate the bug on the following configuration: Windows 7, 32 bit Operating System. I tried to follow the exact steps as described in the initial bug report on both Ooo 4.1.1 and 4.2-dev with the specification that the “Area” tab from Format->Paragraph is not present in Ooo 4.1.1, but I used the icon from the right side of the screen to change the background color. I could not reproduce the bug on Ooo 4.1.1, but this bug could be easily reproducible on Ooo 4.2- dev version. Here are my findings after trying to do more investigations over this bug: a)-in Ooo 4.1.1 the font color is automatically changed from black to white ONLY if the font color is set to “automatic”. Based on this, I followed the below steps in my attempt to reproduce the defect on Ooo 4.2-dev: 1.Create a new text document (File->New->Text document) 2.Set the font color to automatic (Tools->Options->OpenOffice->Appearance) 3.Write a text and select it all 4.Change the color of the background to a dark color (Format->Paragraph>Area tab)(e.g. black or dark blue) Actual result: The font color is black. It is not automatically converted to white after step 4. b)-I believe that the quantity of the colors Red, Green and Blue from which the background color is composed has an influence on the automatically conversion of the font color from black to white. I followed the next steps on both Ooo 4.1.1 and Ooo 4.2-dev: 1. Create a new text document (File->New->Text document) 2. Set the font color to automatic (Tools->Options->OpenOffice->Appearance) 3.Create a new color with a certain amount of Red, Green and Blue (e.g. R= 100, G=0, B=0)(Tools->Options->Colors->Write the desired values for R,G,B->click on Add button->Add a title for the color) 4.Repeat step 3 with other values (e.g. R=0, G=100, B=0) )(Tools->Options->Colors->Write the desired values for R,G,B->click on Add button->Add a title for the color) 5. Repeat step 3 with other values (e.g. R=0, G=0, B=100) )(Tools->Options->Colors->Write the desired values for R,G,B->click on Add button->Add a title for the color) 6.Write a text and select it 7. Change the color of the background (select the color created in step 3) 8. Change the color of the background (select the color created in step 4) 9. Change the color of the background (select the color created in step 5) Actual result: -in Ooo 4.1.1 : after step 7 the font color automatically converts to white. After step 8 the font color is not converted to white (it remaines black). After step 9 the font color automatically converts to white. -in Ooo 4.2-dev: after all steps 7,8,9 the font color remains black.
Created attachment 84421 [details] Scrrenshots with my findings Please see the screenshots from the attached document. The screesnhots are related to my findings.
Still reproducible with German AOO420m1(Build:9800) - Rev. 1651021 on WIN7 64Bit with sample document and newly created writer document.
Confirmed on current trunk