[Libreoffice-bugs] [Bug 119100] New: Removing an improted bitmap from a frame does not remove bitmap from .odt file.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 5 03:34:19 UTC 2018


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

            Bug ID: 119100
           Summary: Removing an improted bitmap from a frame does not
                    remove bitmap from .odt file.
           Product: LibreOffice
           Version: 6.0.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: martin.van.boven at gmail.com

Created attachment 143973
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143973&action=edit
Five files, from new empty document, to document with frame and Bitmap removed
again.  The filesize has not shrunk.  The image ("Bitmap") file used.

Removing an imported bitmap from a frame does not remove bitmap file from .odt
file.


Actions to reproduce:

Add a frame:
Insert | Frame-> | frame...

Add a background to it, in LibreOffice parlour a "bitmap" that must first be
"imported", and then added as "Area":
<Select frame> | Properties... | Area | Bitmap | Import

Observations:
* The imported bitmap becomes visible as background to the frame, but is not
visible in the Bitmap pictogram list in the Area tab.
* The document grows in size according to the size of the imported image.

Actions to reproduce:

Remove the background:
<Select frame> | Properties... | Area | Bitmap | None

Observations:
* The background disappears.
* The filesize remains the same, even if the Bitmap is not being used anywhere
else in the document.
* There is no interface to list or remove the Bitmap.
* The file and reference to it can be found inside the .odt file in a folder
./Pictures and in Styles.xml.


IMO this is a bug, as it lets a Writer file grow without limit and without
method to prune it.
* LibreOffice should add imported Bitmaps to the Bitmaps list, or to a more
general management GUI for imported data.
* LibreOffice should have an option to manually manage Bitmaps contained in the
document, used or not.
* LibreOffice should perhaps automatically remove unused Bitmaps from the
document file.

-- 
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/20180805/9758b32f/attachment.html>


More information about the Libreoffice-bugs mailing list