Bug 160984 - FILEOPEN DOCX: endnote is on separate page, not inline
Summary: FILEOPEN DOCX: endnote is on separate page, not inline
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Miklos Vajna
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks: DOCX-Footnote-Endnote
  Show dependency treegraph
 
Reported: 2024-05-08 06:39 UTC by Miklos Vajna
Modified: 2024-05-16 08:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Reproducer document (15.26 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-05-08 06:39 UTC, Miklos Vajna
Details
WIP patch (8.36 KB, patch)
2024-05-09 12:48 UTC, Miklos Vajna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2024-05-08 06:39:28 UTC
Created attachment 194020 [details]
Reproducer document

This may be the same as bug 58521, I'm not yet sure.

Steps to reproduce:

1) Open the attached DOCX file.
2) Look at the order of foot/endnotes.

Expected result: "This is an endnote", then "This is a footnote"

Actual result: "This is a footnote", then "This is an endnote" on a separate page.
Comment 1 Commit Notification 2024-05-08 10:49:41 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/90f19126fa405a0632eae4ee8525b66bbce12625

tdf#160984 sw continuous endnotes: introduce an endnote section

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2024-05-09 07:35:30 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8bae684c93bd23bbe98707ba9cf75d1a39427131

tdf#160984 sw continuous endnotes: add a way to find the endnote section start

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Miklos Vajna 2024-05-09 12:48:23 UTC
Created attachment 194053 [details]
WIP patch

A snapshot of local changes that I have to fix the bugdoc, but not yet pushing as I'm aware of unwanted side effects.
Comment 4 Commit Notification 2024-05-10 07:06:01 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ab3416cad1dd4e706432f9b1a3592cec823c76b0

tdf#160984 sw continuous endnotes: fix testContinuousEndnotesMoveBackwards

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2024-05-13 10:15:28 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9c7acbc937b3b341c10187b837e09cc20399f04e

tdf#160984 sw continuous endnotes: fix CppunitTest_sw_layoutwriter3

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2024-05-14 10:09:33 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6885dcd7ec7b82a946d8344bfc27a3e88eecc44a

tdf#160984 sw continuous endnotes: switch to a section-based layout

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2024-05-16 08:14:45 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d74fb6b571304b41c13b7a6dcdd2b853bfca7210

tdf#160984 sw continuous endnotes, DOC import: enable this unconditionally

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.