Apache OpenOffice (AOO) Bugzilla – Issue 29105
Text in drawing objects distorted when using graphic as page background
Last modified: 2017-05-20 10:34:12 UTC
to reproduce: - open a (new) writer document - set a background graphic for the current page via format - page - insert a drawing object (e.g. Text or Text animation, the object itself should be transparent) - doubleclick in the object an type some characters -> you cannot see what you type, as almost all the text becomes black (seems as if a lot of charecters are printed at the same position) this does not occure in Impresse (that's why I reported for writer).
MRU->OD: While editing text in a drawing textobject on a page with a background graphic, the text becomes unreadable. When leaving the object, it is ok. I don't know if this is more your's or AW's issue...
re-assigned to OD.
*** Issue 35465 has been marked as a duplicate of this issue. ***
*** Issue 45884 has been marked as a duplicate of this issue. ***
*** Issue 52577 has been marked as a duplicate of this issue. ***
*** Issue 53406 has been marked as a duplicate of this issue. ***
*** Issue 64142 has been marked as a duplicate of this issue. ***
*** Issue 102840 has been marked as a duplicate of this issue. ***
This just started happening with my writer i set a background like i have before and inserted a text box and as i typed the line turned black and i could not see what i had typed
ALG: Taking a look. Looks as if Writer calls OutlinerView::SetBackgroundColor itself with black (0xffffffff) when a background image is set. Getting sw with debug...
ALG: The GetBackgroundColor/SetBackgroundColor stuff for OutlinerView is all correctly preserved in sw for text edits, but the initialization is wrong. In SwPageFrm::GetDrawBackgrdColor a SvxBrushItem is looked up, but only its color is used; this is defaulted to black and wrong when a Graphic is set as background. Checking what to do in this case...
ALG: When a graphic is set, it may be possible to calculate a single color which looks good in all places of the graphic. Since it is planned to have text edit on the overlay one day and the fallback to aGlobalRetoucheColor returns something useful, just use that for now, it works well (checked that).
"alg" committed SVN revision 1531285 into trunk: i29105 when a page background garphic is set in sw, use GlobalRetoucheColor a...
ALG: Okay, committed, done.
ALG: OMG, a task from 2004, with six duplicates. @cowgirl.forever: thanks for bringing this up again!