[Libreoffice-bugs] [Bug 121300] New: Images anchored to a paragraph are lost when the parent paragraph is deleted in a DOCX file
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 9 09:15:41 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121300
Bug ID: 121300
Summary: Images anchored to a paragraph are lost when the
parent paragraph is deleted in a DOCX file
Product: LibreOffice
Version: 6.2.0.0.alpha1+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: libreoffice at nisz.hu
Description:
There is a significant difference in how LibreOffice Writer handles images
anchored to a paragraph when the parent paragraph is deleted, depending on the
file format of the document:
– If the format of the document is DOCX, deleting the paragraph also deletes
the image.
– If the format of the document is ODT, deleting the paragraph simply causes
the image to move up one paragraph.
The issue is more apparent when the paragraph contains only one single
character besides the anchor of image:
– If the format of the document is DOCX, selecting the only character in the
paragraph also marks the image as selected.
– If the format of the document is ODT, selecting the only character in the
paragraph doesn't mark the image as selected.
Steps to Reproduce:
1.Create a new text document in LibreOffice Writer, and add a few paragraphs of
random text.
2.Create an empty paragraph somewhere in the document and insert an image by
clicking on Insert > Image. Writer inserts the image anchored to paragraph by
default, so there is no need to change that.
3.Save the document both as ODT and DOCX.
4.Close the document and reopen both the ODT and DOCX file in Writer.
5.Delete the paragraph containing the image in both versions of the document.
Actual Results:
The image disappears from the DOCX document, and moves up one paragraph in the
ODT document
Expected Results:
The image should move up one paragraph both in the DOCX and the ODT document.
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181109/8227e610/attachment.html>
More information about the Libreoffice-bugs
mailing list