Bug 93906 - Heading of userdef. index: Keep with next paragraph initially broken
Summary: Heading of userdef. index: Keep with next paragraph initially broken
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2015-09-03 21:51 UTC by Stefan
Modified: 2024-09-30 16:36 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example: Heading og userdef. index will not "keep with next paragraph" (12.68 KB, application/vnd.oasis.opendocument.text)
2015-09-03 21:51 UTC, Stefan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2015-09-03 21:51:50 UTC
Created attachment 118402 [details]
Example: Heading og userdef. index will not "keep with next paragraph"

Check the attached file (there is an german bug description inside too)

If you open the document, the headline of the userdefined index is at the bottom of the first page. The body of the index is at the next page.

(The "Keep with next paragraph"-value of the paragraph style of the index-heading is set. No changes made here)

If you go to the dialog "Edit paragraph style" and press "apply" without any changes made, the heading will move to its correct position at top of page two. 
so it seems some initialisation is broken.

Maybe this bug affects other indexes too (not testet)
Comment 1 Cor Nouws 2015-09-05 20:29:05 UTC
Thanks for filing the issue. I confirm the behaviour. In 5.0.1.2

After correcting the error, saving and opening again, the problem doesn't pop up again. Correct?

Any idea if this worked fine in the past?
Cheers - Cor
Comment 2 Stefan 2015-09-06 01:21:17 UTC
Right: If saved in a correct state, it will be "fine";)

No ideawhich old versions affected ...
Comment 3 Julien Nabet 2015-12-03 19:16:34 UTC
There's been a fix for tdf#34957
Comment 4 QA Administrators 2017-01-03 19:42:48 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-12-03 14:46:23 UTC Comment hidden (obsolete, spam)
Comment 6 Justin L 2020-05-21 08:20:00 UTC
confirmed still a problem with 7.0+. This is right before a table of contents, so likely some special case here. I assume the "keep" property comes from the Heading - User Index Heading paragraph style - because the paragraph attributes cannot be accessed directly.

confirmed that all the details in comment 1 still are true. A simple round-trip is not enough to "fix" the problem, but even just adding and deleting a paragraph marker before the TOC is enough to fix the problem.
Comment 7 Justin L 2021-08-20 12:49:44 UTC
repro 7.3+
I expect this is just a layout issue (which are ridiculously hard to solve).
Comment 8 Stefan 2023-02-02 16:58:13 UTC
Sillt present in 7.5.0.3
Comment 9 Justin L 2024-09-30 16:36:50 UTC
repro 25.2+