Bug 107702

Summary: Metadata lost when compressing images
Product: LibreOffice Reporter: Yousuf Philips (jay) (retired) <philipz85>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: thomas.lendo
Priority: medium    
Version: 4.1.6.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=34133
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103152, 107873    
Attachments: example of metadata before and after

Description Yousuf Philips (jay) (retired) 2017-05-08 12:27:46 UTC
Created attachment 133158 [details]
example of metadata before and after

Steps:
1) Open Writer
2) Insert an image with meta data (e.g. http://www.exiv2.org/include/img_1771.jpg)
3) Right click > Compress
4) Press OK in compression image dialog
5) Save the document
6) Unzip the file and open the image in /Pictures
7) Compare the metadata between the original file and the compressed file

Version: 5.4.0.0.alpha0+
Build ID: 74ccd02eda2d6325a27266fd935aba29b3d75020
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-04-27_23:51:14
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 Telesto 2017-05-08 14:44:19 UTC
Repro with:
Version: 5.4.0.0.alpha1+
Build ID: 274ecb49b70b3f01d47546e3b44317946c106042
CPU threads: 4; OS: Windows 6.2; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-05_22:45:07
Locale: nl-BE (nl_NL); Calc: single
Comment 2 QA Administrators 2018-05-16 02:31:45 UTC Comment hidden (obsolete)
Comment 3 Thomas Lendo 2018-06-17 21:00:56 UTC
Reproduced with Version: 6.2.0.0.alpha0+
Build ID: bf1f49c837264c8f59197b9487d40e32821526c3
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: group threaded
Comment 4 QA Administrators 2019-06-18 02:47:38 UTC Comment hidden (obsolete, spam)
Comment 5 QA Administrators 2021-06-18 04:02:10 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-06-19 03:13:12 UTC Comment hidden (obsolete)
Comment 7 Thomas Lendo 2023-07-09 21:50:10 UTC
Repro with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 2; OS: Linux 5.8; UI render: default; VCL: gtk3