Description: In my file, special field appears only on first page. Steps to Reproduce: 1. Open my file 2. Try to use the "Chapter" field outside of first page Actual Results: It doesn't work -- I testes it also on 7.2.2.2 on Windows. Expected Results: It should work. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.1.8.1 / LibreOffice Community Build ID: 10(Build:1) CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: fr-FR (en_US.UTF-8); UI: en-US 7.1.8-3 Calc: threaded
Created attachment 177362 [details] very simple file
The bug is also valid on 7.2.4.1 Version: 7.2.4.1 / LibreOffice Community Build ID: 20(Build:1) CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: fr-FR (en_US.UTF-8); UI: en-US 7.2.4-3 Calc: threaded
That#s not a bug. Paragraphs on second page have "outline 1" as direct formatting. So header on second page takes content of first paragraph as chapter name and therefor it is empty. If you select paragraphs on second page and clear direct formatting (Ctrl+m) header gets the expecte result. => RESOLVED NOTABUG
Hello! Thanks to you I better understand the bug I experienced. Steps to reproduce: * New Writer document * Add a Header 1 title * On the next line, Format > Paragraph > Outline & List > Outline Level > Level 1 * On this very line, Insert Special field "Chapter name" The special field is empty. To my eyes it is a bug. If not a bug, it is very much incomprehensible to my untrained eyes. I attach another simple file where I did exactly the steps.
Created attachment 177667 [details] Special field in outline does not display chapter name
(In reply to nucleos from comment #5) > Created attachment 177667 [details] > Special field in outline does not display chapter name It really took some time, but finally I could find out, what's going on. Paragraph with field inside is also set to outline level one. Outline level in first paragraph is greyd out. So field take chapter name from the second paragraph. Since this is empty, filed is empty to. Just type something in secon paragraph and see the result. I think the problem appears, if you assign same outline level to paragraphs with different styles, but I'm not sure here. Perhaps LO shouldn't allow this to avoid problems. But this would be different bug report.
Hello, thanks a lot for the explanation Dieter, and the time you gave. I filed another bug, hopefully with better terms: https://bugs.documentfoundation.org/show_bug.cgi?id=146892 (I'm sorry I'm not too technical!)