Created attachment 143304 [details]
Example file from Writer
Writer saves copies of images belonging to different header/footer styles only once to odt, but multiple times to docx, increasing file size unnecessarily. Word saves such images only once too.
1, Create a custom page style in Writer
2, Insert an image into the default page header, make sure to anchor it to the paragraph in the header
3, Insert a page break, set the custom page style to the new page
4, Insert the *same* image into the second pages header, make sure to anchor it to the paragraph in the header
5, Save the document to odt and docx.
If you rename the files to zip and unpack them, you should see one instance of the image in the odt's Pictures directory, and two instances of the docx's word\media directory.
Docx export should contain the image only once.
Build ID: bb1d5780226bb1b9156580972eea9aa849178742
CPU threads: 1; OS: Windows 6.1; UI render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2018-07-03_05:56:48
Locale: hu-HU (hu_HU); Calc: group threaded
Created attachment 143305 [details]
Same file saved as docx from LO master
Created attachment 143306 [details]
Content of the files - docx has two instances of the same image
The original user document we got contained 20 header/footer styles with this image, so it grew from ~250kB to ~2.5 Mb after saving from LO.
Repro. Keeping severity as normal as the size increase can indeed be quite nasty.
Arch Linux 64-bit
Build ID: 860a9daf2b45942a4b10ff22d36aa3fe29be19f4
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3;
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on July 14th 2018
Arch Linux 64-bit
Dear Gabor Kelemen,
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
Still happens with:
Version: 126.96.36.199.alpha1+ (x86)
Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win;
Locale: hu-HU (hu_HU); UI-Language: en-US