Issue 125699 - No automatic font color adaption to paragraphbackground or page background color
Summary: No automatic font color adaption to paragraphbackground or page background color
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: 4.2.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-10-01 04:39 UTC by Rainer Bielefeld
Modified: 2015-01-18 14:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample Document with screenshot (28.46 KB, application/vnd.oasis.opendocument.text)
2014-10-01 04:40 UTC, Rainer Bielefeld
no flags Details
Scrrenshots with my findings (111.40 KB, application/pdf)
2015-01-14 20:20 UTC, andra
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2014-10-01 04:39:51 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
Comment 1 Rainer Bielefeld 2014-10-01 04:40:26 UTC
Created attachment 84003 [details]
Sample Document with screenshot
Comment 2 Rainer Bielefeld 2014-10-01 05:43:48 UTC
For black page background automatic character color should change from black to white, what also does not work with 4.2-dev
Comment 3 andra 2015-01-14 20:14:56 UTC
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.
Comment 4 andra 2015-01-14 20:20:03 UTC
Created attachment 84421 [details]
Scrrenshots with my findings

Please see the screenshots from the attached document. The screesnhots are related to my findings.
Comment 5 Rainer Bielefeld 2015-01-18 07:36:56 UTC
Still reproducible with German AOO420m1(Build:9800)  -  Rev. 1651021 on WIN7 64Bit with sample document and newly created writer document.
Comment 6 Ariel Constenla-Haile 2015-01-18 14:42:30 UTC
Confirmed on current trunk