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

            Bug ID: 147891
           Summary: Regression: roundtrip of presentations/drawings
                    including cropped PDF images is broken
           Product: LibreOffice
           Version: 7.3.1.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
This is a regression that was probably introduced at the time of the pdfium
transition. Rather sure that the issue was not there before.

If you insert a PDF image in a presentation or a drawing, you crop it, you
scale the result, you save and you reload, then what you reload is often quite
different from what you saved.

Because of this issue it is unsafe to use PDF images in presentations as you
will never be sure if the result can be preserved.

I think that I have a reproducible case which I hope shall help debugging.
Please follow the steps below.

A final note: I hope that this could be the occasion to deal also with the
other regressions that were accidentally created with the pdfium transition,
that is already a bit far away, most notably the mismanagement of PDF images
with no background.

Steps to Reproduce:
1. Open drawing or presentation, set size to landscape A4
2. Insert sample PDF page
3. Use "crop dialog" to crop at 119 mm top and 28 mm bottom
4. Use position and size dialog to set width to 220 mm proportionally scaling
the height, also set position of top left corner at x=30mm, y=33mm so that the
resulting cropped image is nicely centered
5. observe the result
6. save
7. reload
8. observe the result again


Actual Results:
Reloaded page/slide is quite different from the saved one.

Expected Results:
Reloaded page should be identical to saved one.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to