Attaching a test document prepared on Windows 7 sp1, 64-bit en-US with
Build ID: b2f347f2ac68821efc00b6f1793cda90af748118
This may be continuation of bug 82661 -- Paragraph background fills all space above paragraph, but seems to be a very specific corner case.
In the test document, have modified Title style as Title1, Area fill is set to Gray6 and Font effects have set font to Yellow. Have an Area above of 2.0cm and and Area below of 1.0cm
If the Area fill is modified to Black, the Area above paragraph will be filled black. Revert to Gray6 and area above is not filled--just the line(s) with text. Also seems to be positional, in that if it occurs at a natural page break (or start of document), the area above is not filled. Following a manual page break, it does.
Area fill color other than Black does not manifest the issue.
Created attachment 114960 [details]
test case, area above paragrapha fills when Black color is set
test document for issue, modify Title1 paragraph attributes--change Area fill color from Gray6 to Black. Area above paragraph will incorrectly be drawn filled.
Incorrect area fill when color set to black also noted with recent master on Fedora21 w/LXDE
Build ID: c3087d969671e62182eb049850479e77190ccff4
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2015-03-22_02:33:12
I don't see this happen with version 188.8.131.52 (rc1)
The black background looks OK in that version, bith when I apply the black background color with Format->Paragraph and by changing the style.
I should have added: On Mac OS X 10.10.3, as the bug was reported on 184.108.40.206
This seems to have been fixed for everything but black by the below commit.
(Note: I can reproduce when setting the paragraph background of "Title 2" in the attached document to black, but not "Title 1")
Author: Miklos Vajna <email@example.com>
AuthorDate: Tue Feb 17 12:16:54 2015 +0100
Commit: Miklos Vajna <firstname.lastname@example.org>
CommitDate: Tue Feb 17 12:34:35 2015 +0100
tdf#82661 SwFrm::PaintBackground: handle fill attrs when comparing background
Regression from 7d9bb549d498d6beed2c4050c402d09643febdfa (Related:
i#124638 Second step of DrawingLayer FillAttributes..., 2014-06-02),
should be good enough till SdrAllFillAttributesHelper gets its own
Migrating Whiteboard tags to Keywords: (bibisected)
Adding Cc: to Miklos Vajna
*** This bug has been marked as a duplicate of bug 87509 ***