Created attachment 117302 [details] minimal test case Steps to reproduce: Open the attached document: The header of a left page contains the current level 1 heading by using a field of type "chapter", e. g. "chapter name". On the right page, it is the current level 2 heading. On every page, a level 2 heading is used. The field for current heading 1 uses the value of a heading 2 if there was no heading 1 yet. Actual behaviour: Go to page 4 or page 6: Although the current (level 2) heading is already at number 3, the heading 1 field still uses the heading (level 2) number 1 from the beginning of the document. Expected behaviour: The field for current heading level 1 should use the value of the current heading level 2, if there was no heading of level 1 yet. It should NOT use a heading level 2 from the beginning which is not valid any more. See the attached PDF file which shows a "real world" example (Goethe: Faust 1) that suffers from this problem. E. g. on page 18 and 19, the headings should be the same: A level 1 heading has not occured yet (comes on page 22) and the current heading level 2 is "Prolog im Himmel". However, on page 18 the header still contains "Zueignung" from the beginning. Environment used: LibreOffice 4.4.4.3-3 Debian GNU/Linux 7.8 (wheezy) (x86)
Created attachment 117303 [details] real world example: Johann Wolfgang von Goethe: Faust. Eine Tragödie.
LibreOffice 3.5.4.2 (from Debian) is also affected.
I confirm what you describe, but I don't really understand the mechanism/logic behind it :( I'll set to NEW anyways. Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+ (x64) Build ID: e92a8b92072284fd7c37d7bb3e1e8fe72a185f35 TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-07-22_21:46:26 Locale: fi-FI (fi_FI)
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
Dear Michael Fiedler, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
This problem still exists. Version: 7.2.5.2.0+ / LibreOffice Community Build ID: 20(Build:2) CPU threads: 4; OS: Linux 5.16; UI render: default; VCL: gtk3 Locale: fr-FR (en_US.UTF-8); UI: en-US 7.2.5-4 Calc: threaded
Created attachment 177822 [details] simplified document Perhaps we can narrow down the problem with a simplified document. Attached document has only one page style (default). Actual result: Field in header displays name of first chapter on every page. Expected result: Field in header should display chapter name of the current page. Additional poblem is, that - regarding to field dialog - field should only display level 1 chapters and headings have outline level 2, but this is bug 147004.
You can solve the problem if you assign first level of chapter numbering to PS "Heading 2" with Tools => Chapter Numbering. Update fileds (F9) and everything works as expected. So expected result would be, that filed diesplays nothing, because filed is connected with chapter level 1 and headings are chapter level 2. Problem is described in bug 147004. Since description there is more concrete, I would treat bug 92805 as duplicate of bug 147004.
(In reply to Dieter from comment #8) > You can solve the problem if you assign first level of chapter numbering to > PS "Heading 2" with Tools => Chapter Numbering. Update fileds (F9) and > everything works as expected. Cool solution -- but probably the preferred solution would be to use the "Level" control for the field. Open "minimal test case" (attachment 117302 [details]), edit field in Header of "Left Page" Page Style. Change "level" from "1" to "2". I believe this gives the expected result in the OP => WFM (in 7.2.7.2) or NAB (if you can test with 4.4.4.3-3)