Bug 139279 - Writter does not properly export cropped picture to PDF on Windows
Summary: Writter does not properly export cropped picture to PDF on Windows
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2020-12-28 12:54 UTC by artragis
Modified: 2023-04-12 04:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The odf file to reproduce (5.85 MB, application/octet-stream)
2020-12-28 12:56 UTC, artragis
Details
The bad generated PDF (1.95 MB, application/pdf)
2020-12-28 12:57 UTC, artragis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artragis 2020-12-28 12:54:45 UTC
Description:
When we add a picture in a writer document on Windows, if we crop and resize it the images are not good on PDF.

Steps to Reproduce:
1. Open libreoffice on windows
2. Use Insert > Media > Scanner > Acquire
3. Crop the image and resize it (crop & resize seems to increase the frequency of the bug)
4. Save your document in odt format
5. Export the document to PDF keeping default parameters

Actual Results:
The image may be incorrect on the generated PDF and displays sometimes a bad part of the cropped image, or a deformed version of the image


Expected Results:
The image is always the good one


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Never reproduced on 7.0.3 on ubuntu
Comment 1 artragis 2020-12-28 12:56:40 UTC
Created attachment 168530 [details]
The odf file to reproduce
Comment 2 artragis 2020-12-28 12:57:53 UTC
Created attachment 168531 [details]
The bad generated PDF
Comment 3 mulla.tasanim 2020-12-28 17:18:52 UTC
Thank you for reporting the bug.

I can confirm that the bug is present in

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 761a672d62df1891b9f4f367a499b220ab2b33fa
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 4 Timur 2020-12-29 10:48:03 UTC
Please test Print to PDF, could be a duplicate of Bug 117059. 
Should be tested with LO 5.0 (or 4.last) and 6.0 (or 5.last) for regression.
Comment 5 QA Administrators 2022-12-30 03:28:18 UTC
Dear artragis,

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 https://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://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug