Created attachment 152950 [details] Example add a background color and a frame to a header and place a colored form element in the page background -> where the two elements overlap, the header's frame is correctly over the form element, but the background color of the header ist covered by the form element (see attached example).
Created attachment 152951 [details] PDF-Example
NOTABUG, because Default style in the insert dialog is a template and not a style. Confusing, see bug 124206 (and bug 18227 comment 6). I hope, there will be a solution.
(In reply to Dieter Praas from comment #2) > NOTABUG, because Default style in the insert dialog is a template and not a > style. Confusing, see bug 124206 (and bug 18227 comment 6). I hope, there > will be a solution. Sorry, this should be a comment to bug 126517
I confirm it with Version: 6.4.0.0.alpha0+ (x64) Build ID: 8f98a7c4e5b1f0b249c026577805a378b8a533d5 CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-07-23_00:30:19 Locale: de-DE (de_DE); UI-Language: en-US Calc: threaded Just for clarification: There is no header in your document, but a heading paragraph with a colored area => Ichanged bug summary to make it more clear.
Still present in Version: 7.1.4.2 (x64) / LibreOffice Community Build ID: a529a4fab45b75fefc5b6226684193eb000654f6 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Steps to reproduce 1. Open a new document 3. Write some text 2. Insert a shape and drag it over the text 3. Choose "In Background" for wrap settings => shape is now in background of the text => O. K. 4. Add a background color to the paragraph Actual result: Background color of the paragraph is in the background of the shape Expected result: Should be a possibility to make paragraph background visible Additional information: If you add a border to the paragraph, border is visible Not sure for 100% about the expected result => cc: Design Team Bug 67272 describes the same behaviour with images in background.
Created attachment 172855 [details] Example of paragraph background needed at last Was thinking that we need the background (color) to be the true background. Object become hidden otherwise. But the example is a clear situation where the shape is expected to be behind the paragraph. My take is just WF. Solution/workaround is to either use a correct page style (with image or pattern as background) or to highlight the paragraph rather than using it's background color.
Mike, what do you think?
(In reply to Dieter from comment #5) > Additional information: If you add a border to the paragraph, border is > visible This is obviously unexpected. I am unsure what should be the expected order, but the paragraph borders should definitely be on the same "layer" with its background. So what should be the Z-order of various things? Maybe Regina has an idea?
ODF has only "frame content is displayed behind a text" and "frame content is displayed in front of a text" (section 20.351 style:run-through, part3 OSD1.3). It does not explicitly state, whether the paragraph background color belongs to the text an covers the object. All of Word, SoftMaker, and Google Docs behave the same. They put a "in Background" object behind the paragraph background-color. LibreOffice has a setting "BackgroundParaOverDrawings" in ooo:configuration-settings in settings.xml to use one or the other position of the object. But that option is not available in the expert configuration and not in Tools > Options>..>Compatibility. The setting should at least be available in the "Expert configuration" in Tools > Options > General > Advanced.
(In reply to Regina Henschel from comment #9) > LibreOffice has a setting "BackgroundParaOverDrawings" in > ooo:configuration-settings in settings.xml to use one or the other position > of the object. But that option is not available ... > in Tools > Options>..>Compatibility. See also bug 76005. All compatibility options must be available (but not in expert config, since those settings are not LibreOffice registry settings).
A commit that adds adds another compatibility option to the dialog: https://gerrit.libreoffice.org/c/core/+/162635
For reference, the flag was introduced in the following commit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=18b3feb8bef06bf7b126fd0bc743e19479cb8026 author Miklos Vajna <vmiklos@suse.cz> 2012-09-12 09:59:27 +0200 committer Miklos Vajna <vmiklos@suse.cz> 2012-09-12 10:03:18 +0200 n#778133 sw: add BackgroundParaOverDrawings compat flag