https://bugs.documentfoundation.org/show_bug.cgi?id=155815

            Bug ID: 155815
           Summary: footnotes reordered with docx
           Product: LibreOffice
           Version: 7.4.5.1 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: martyhi...@mail.com

Description:
Possibly related to Bug 152526 and Bug 152203.

If I open a docx file with footnotes, make some changes to the text but not the
footnotes, save (as docx or odt) and reopen the file, the footnotes (contents
only) are out of order.

in my file, the first note remains the same, then 2,3,4 disappear so that 2 now
contains the content of 5, 3 contains 6 and so on. then at the end, there are
three more footnotes to be filled. they're not filled with 2,3,4, but with the
contents of 5,6,7, such that those notes appear twice.

to try to reproduce the bug a second time, i started with the original file
again. i opened, saved, opened again, and all is well.

but if i open it, and carefully replace the text surrounding the footnotes of
the first few pages with other text (in this case, the same text translated),
without touching the footnotes (anchors or content) themselves at all. then
save and re-open, i get the bug. 

i tried again, pasting one block of text at a time, then saving and re-opening.
when i pasted up to the first footnote, all is well (fn 1 was no problem). if i
paste up until footnote 2, save, and re-open, footnote 2 only is incorrect: it
has the contents of footnote 5. footnote 3 has not changed at all, nor have the
others.

i also tried removing the styles of the text body and footnotes, to no effect.
but i still feel like they may be involved.

i'm unable to provide the file as it is for a client, though i could possibly
supply a file with all text removed (with styles, etc.) if that would help.

i'm also happy to provide further information if helpful.


Actual Results:
see above.

Expected Results:
see above.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
Version: 7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-GB (en_US.UTF-8); UI: en-US
Debian package version: 4:7.4.5-3~bpo11+1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to