Description: Part 1. 1. Create a new Writer document. 2. Click "Insert > Image" and insert the image test2-trade-bill.jpg, which is 244 KB. 3. Save the document, but don't close it. 4. Notice the document size is now 262 KB. Fair enough: 244 KB for the embedded JPG image and the rest for the document itself. Part 2. 5. Cut the image from the document by pressing Ctrl+X and then save the document. 6. Notice the document size is now 9 KB. Fair enough, since the document is now empty. 7. The most important step: Close the document **and LibreOffice itself**. 8. Open the document again and press Ctrl+V to insert the image you have just cut. Save the document. Notice the document size is now 2 MB. This is because Wirter converted the image to PNG for some reason. Steps to Reproduce: see above Actual Results: see above Expected Results: see above Reproducible: Always User Profile Reset: No Additional Info: see above
Created attachment 177254 [details] test image
*** This bug has been marked as a duplicate of bug 138981 ***
An own problem, unrelated to bug 138981. In this case, LibreOffice itself controls the content of the clipboard after the program exits. There is no native Windows Clipboard format for JPEG; it could possibly be workarounded by a custom format for JPEG, but then the problem doesn't stop, because there should also be an indication which of the *several* raster formats is the original one ... likely not worth the trouble. Anyway, doers decide.