[okular] [Bug 393014] New: VideoWidget sizing in Presentation mode still not fixed
Kieran Ramos
bugzilla_noreply at kde.org
Wed Apr 11 16:38:36 UTC 2018
https://bugs.kde.org/show_bug.cgi?id=393014
Bug ID: 393014
Summary: VideoWidget sizing in Presentation mode still not
fixed
Product: okular
Version: unspecified
Platform: Neon Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: PDF backend
Assignee: okular-devel at kde.org
Reporter: ramos.kieran at gmail.com
Target Milestone: ---
Created attachment 111957
--> https://bugs.kde.org/attachment.cgi?id=111957&action=edit
PDF with "embedded" videos, a link to download the video is in PDF
The VideoWidget size in presentation mode is not correct when multiple videos
are present on separate pages of the PDF. I noticed a very recent commit: (Fix
Presentation Mode VideoWidget sizing) 09109dd6498549dd27a8da1890da25c6aad4686a
so I built okular from the source on the github mirror including that commit,
but the problem still persists.
In more detail, I am making a PDF using the beamer package of LaTeX and on
every frame (slide) I have one or two videos. When I go into presentation mode
only the video(s) on the first slide and the slide I started presentation mode
from are rendered the proper size. Videos on other slides are resized very
small (presumably 100x30 according to that commit and this looks to be about
the size I am seeing). If I start the presentation from a slide without video
only the video on the first slide is the correct size and all other videos are
resized small.
About my system:
I am running Ubuntu 16.04 with the KDE Neon User Edition repositories. Okular
is compiled from source as of commit 824eeb11601a83f50c8082c040fc1f277c0309f8.
Okular Version 1.4.70
KDE Plasma Version 5.12.4
KDE Frameworks Version 5.44.0
Qt Version 5.10.0
How to repeat:
Download the attached PDF and then download the movie linked to in that pdf or
here:
http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg
Put the movie in the same folder as the pdf with the exact same name as
downloaded "big_buck_bunny_720p_stereo.ogg". Open the pdf and put it in
presentation mode then scroll through video.
If you want to make the PDF yourself here is the latex code to make it, just
put it in a file and run pdflatex on that file:
\documentclass{beamer}
\usepackage{default}
\usepackage{multimedia}
\usepackage{lmodern}
\begin{document}
\begin{frame}
\centering
\href{http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_stereo.ogg}{\color{blue}{Please
download the movie by clicking here}} \\
Put the movie in the same folder as this PDF \\
This movie is the correct size
\movie[width=10.66cm,height=6cm,poster,autostart]{}{big_buck_bunny_720p_stereo.ogg}
\end{frame}
\begin{frame}
\centering
The video below is played back the wrong size \\
\movie[width=10.66cm,height=6cm,poster,autostart]{}{big_buck_bunny_720p_stereo.ogg}
\end{frame}
\begin{frame}
This video has a image taken from the movie embedded in the PDF that
remains the correct size after the playback has started. The video fill just
the upper left corner \\
\movie[width=10.66cm,height=6cm,autostart]{\includegraphics[width=10.66cm,height=6cm]{its-a-trap}}{big_buck_bunny_720p_stereo.ogg}
\end{frame}
\end{document}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list