Created attachment 115288 [details] Libreoffice 4.4.2.2 table of contents off by one bug Table of contents looks like this: TOC First chapter Second chapter First chapter of appendix A A - This is Appendix A Second chapter of appendix A ... But it should look like this: TOC First chapter Second chapter A - This is Appendix A First chapter of appendix A Second chapter of appendix A I have used different styles for appendices and "This is Appendix X" has been placed in the header of the style. The file attached is a simplified demo of what I believe is a bug. It popped up in a real document. The current workaround is to manually modify table of contents. Libreoffice version: 4.4.2.2 OS: Microsoft Windows 7 Professional N (AMD64).
Hi Wilcox, thanks for the description of your problem and the sample document, Why do you put for example "A - This is Appendix A in the header? If you put it in the main text part, the TOC is fine and you can place a cross reference to the title in the header..? Cheers Cor
Thanks for prompt reply! Yes, when I place it in main text then yeah, no problem. But business requirements are not defined by me. Every appendix will have a lot of pages and subheaders. Every (appendix) page needs to have Appendix number and some extra text displayed in the header. I was pleasantly surprised that TOC almost looked like I wanted it to be. I was afraid that "A - This is Appendix A" would be listed several times but fortunately only the reference to the first occurrence will be displayed.
(In reply to wilcox from comment #2) > Thanks for prompt reply! You're welcome. No guarantee for future experiences though ;) > Every appendix will have a lot of pages and subheaders. Every (appendix) > page needs to have Appendix number and some extra text displayed in the > header. Hence my suggestion : "you can place a cross reference to the title in the header" ;) I think with that it's fair to set this WorksForMe. In case you have any detailed question, would you please be so kind to refer to our user support options, as listed here http://www.libreoffice.org/get-help/community-support/ If I really see this wrong: do reopen and give appropriate details. best regards, Cor
(In reply to Cor Nouws from comment #3) > (In reply to wilcox from comment #2) > > Thanks for prompt reply! > > You're welcome. No guarantee for future experiences though ;) :) > > Every appendix will have a lot of pages and subheaders. Every (appendix) > > page needs to have Appendix number and some extra text displayed in the > > header. > > Hence my suggestion : "you can place a cross reference to the title in the > header" ;) Well, since the title is in the header of the Appendix it would be a self-reference. > I think with that it's fair to set this WorksForMe. [SNIP] > > If I really see this wrong: do reopen and give appropriate details. While my example might not be best one out there I would still say this a bug waiting to be stumbled upon. Or perhaps a gotcha, because I can not see the logic behind this ordering of headings in TOC. For example - why only the first heading is put before Appendix in TOC but not the others?
If you so wish.. (In reply to wilcox from comment #4) > While my example might not be best one out there I would still say this a > bug waiting to be stumbled upon. I waited since 2004 to see it happen ;) No surprise, since we have the references to do what you did in a different manner. > Or perhaps a gotcha, because I can not see > the logic behind this ordering of headings in TOC. For example - why only > the first heading is put before Appendix in TOC but not the others? That should have to to with the handling of the first paragraph on the page, and that triggering the handling of the other content in that part of the document. Pls put another not heading paragraph before First chapter of appendix A and see what happens.
Created attachment 115302 [details] Libreoffice 4.4.2.2 table of contents off by one bug. Workaround in Appendix A.
(In reply to Cor Nouws from comment #5) > > Or perhaps a gotcha, because I can not see > > the logic behind this ordering of headings in TOC. For example - why only > > the first heading is put before Appendix in TOC but not the others? > > That should have to to with the handling of the first paragraph on the page, > and that triggering the handling of the other content in that part of the > document. > Pls put another not heading paragraph before First chapter of appendix A and > see what happens. I have just uploaded a new version. Yes, when there's text before first heading in Appendix A, TOC looks the way it should.
Bug does not meet the criteria for Status 'REOPENED' https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/REOPENED#Criteria Status -> NEW Confirmed with attachment 115302 [details] Win 7 Pro 64-bit, Version: 5.0.2.2 (x64) Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe 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.6 or 5.2.3 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-20161108
still repro in Version: 6.1.4.2 Build ID: 1:6.1.4-0ubuntu0.18.10.1 CPU threads: 4; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; Locale: ru-RU (ru_RU.UTF-8); Calc: group threaded
Dear wilcox, 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
Created attachment 183060 [details] A proposed document structure with correct ToC order A heading in a header is not the correct document structure. Header is a property of a page style; this also leads to proliferation of page styles. It is actually unclear how such a heading should appear relative to the main text flow, because the page style is a property of the first paragraph, and the paragraph itself has an outline level, and deep inside its properties (inside page style, inside its heading, as a property of that heading's first paragraph), another outline element is. As far as I see, the requirement for the heading in the header came from the requirement to have it in other pages of the appendices; and that could be done using a special page style for first page of appendix (without header, and with normal paragraph for the heading in that area), and the page styles with headers and chapter references for the rest of the pages. Having that page style, and associating it with respective appendix header paragraph style, could automate it all; of course, if the requirements for each appendix are different, then it would not automated, but still provide the same level of functionality. Attached is a sample with the explained structure, which is an edited attachment 115288 [details] from comment 0.
(In reply to Mike Kaganski from comment #12) > Created attachment 183060 [details] > A proposed document structure with correct ToC order Looks good. And thanks for the explanation ;) So - though not straight forwarded - it looks as WFM?
(In reply to Cor Nouws from comment #13) > So - though not straight forwarded - it looks as WFM? This is the same as bug 70624; and even though I personally would tell this is NOTABUG (not WFM, which is "there definitely was a problem, but got fixed by unknown commit"), but e.g. Justin confirmed that; I don't think there's a consensus here, so I didn't close it.
Dear wilcox, 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://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
*** This bug has been marked as a duplicate of bug 70624 ***