Bug 131673 - Embedded video in exported PDF has wrong size and position
Summary: Embedded video in exported PDF has wrong size and position
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-29 15:47 UTC by Elvis Stansvik
Modified: 2021-02-09 12:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The input ODT (1.16 MB, application/vnd.oasis.opendocument.text)
2020-03-29 15:47 UTC, Elvis Stansvik
Details
The output PDF: Notice how the video size/position is wrong (1.20 MB, application/pdf)
2020-03-29 15:48 UTC, Elvis Stansvik
Details
Screenshot showing the ODT in LibreOffice Writer (114.94 KB, image/png)
2020-03-29 15:49 UTC, Elvis Stansvik
Details
Screenshot showing the PDF in Okular (206.42 KB, image/png)
2020-03-29 15:49 UTC, Elvis Stansvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elvis Stansvik 2020-03-29 15:47:59 UTC
Created attachment 159126 [details]
The input ODT

When exporting the attached ODT to PDF, the embedded video had the wrong size and position. It's too small and too much to the left. See the attached video.pdf for the result.

I originally reported this at https://bugs.kde.org/show_bug.cgi?id=419359 because I thought it was a problem with my PDF reader (Okular). But the Okular maintainer tested in Acrobat Reader DC, and the size/position is wrong there too, so it's problem with LibreOffice Writer's PDF export.
Comment 1 Elvis Stansvik 2020-03-29 15:48:36 UTC
Created attachment 159127 [details]
The output PDF: Notice how the video size/position is wrong
Comment 2 Elvis Stansvik 2020-03-29 15:49:12 UTC
Created attachment 159128 [details]
Screenshot showing the ODT in LibreOffice Writer
Comment 3 Elvis Stansvik 2020-03-29 15:49:39 UTC
Created attachment 159129 [details]
Screenshot showing the PDF in Okular
Comment 4 Elvis Stansvik 2020-03-30 05:49:20 UTC
Luigi on the Okular issue I linked reported:

> It is not much relevant here, but for the record, I exported the ODT document to
> PDF with LibreOffice 6.4.2 and the video is now placed correctly.

So perhaps this can be closed as fixed. Let me try with a newer LO.
Comment 5 Elvis Stansvik 2020-03-30 06:02:18 UTC
Yes, my bad. I have now tried with the AppImage (version 6.3.5.2), and when exporting the PDF using that version, the size/position is correct. So looks like this bug is already fixed.

Sorry for the noise. Resolving bug!
Comment 6 Xisco Faulí 2021-02-09 12:52:59 UTC
Thanks for retesting the issue with the latest version.
Setting to RESOLVED WORKSFORME since the commit fixing this issue hasn't been
identified.