[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-10 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #13 from Jay Schieber  ---
Duh! Now I see that the problem was that I was mixing the new and old structure
using the /src directory.  

However, even after that I cannot compile because of problems with CMake and
KDE.
This is getting too complicated to work properly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #12 from Jay Schieber  ---
I am getting a very stupid problem with path. I modified bashrc in the way I
suggested, also added it the new path by hand, and checked: 

jay@desktop:~/kde/src/kdesrc-build$ $PATH
bash:
/home/jay/kde/src/kdesrc-build:/home/jay/kde/kdesrc-build:/home/jay/bin:/home/jay/.local/bin:/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:
No such file or directory

There it is (twice!). I then try to use it:

jay@desktop:~/kde/src/kdesrc-build$ kdesrc-build okular
kdesrc-build encountered an exceptional error condition:
 
Config Error: Unable to open file
/home/jay/kde/kdesrc-build/kf5-qt5-build-include which was included from line
33
 
Can't continue, so stopping now.
jay@jdshomeoffice:~/kde/src/kdesrc-build$ kdesrc-build okular
kdesrc-build encountered an exceptional error condition:
 
Config Error: Unable to open file
/home/jay/kde/kdesrc-build/kf5-qt5-build-include which was included from line
33
 
Can't continue, so stopping now.

It says that it cannot see the file, but there it is:

jay@desktop:~/kde/src/kdesrc-build$ ls
AUTHORSdockdesrc-buildrc-kf5-sample 
kf5-applications-build-include  kf5-kdepim-build-include LICENSEROADMAP
  t
CMakeLists.txt Internals.txt  kdesrc-build-setup
kf5-extragear-build-include kf5-qt5-build-includemodules   
sample-kde-env-master.sh  vim
custom-qt5-libs-build-include  kdesrc-build   kdesrc-build-test.pl  
kf5-frameworks-build-includekf5-workspace-build-include  README.md 
sample-xsession.sh

Clearly, I am missing something very stupid.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #10 from Jay Schieber  ---
(In reply to Nate Graham from comment #9)
> Re-read the paragraph that starts with "We want to add kdesrc-build to your
> system's $PATH variable" :)

Strange. I did that, but still needed ./ to get it to run. 
Just double-checked bashrc, and it looks fine:



export PATH=~/kde/kdesrc-build:$PATH

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #8 from Jay Schieber  ---
(In reply to Nate Graham from comment #7)
> This doesn't modify anything on your system. All software is compiled and
> installed to ~/kde, which is inside your home folder. Your system itself is
> untouched. :)

Good to know--thanks!

BTW, there is a typo in that tutorial.  The line should read:

./kdesrc-build --initial-setup

but is missing the first two characters.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #6 from Jay Schieber  ---
(In reply to Nate Graham from comment #5)
> Yep, right here:
> https://community.kde.org/Get_Involved/development#One-time_setup:
> _your_development_environment

This makes it look like I have to modify an awful lot of KDE, which I am
extremely reluctant to do! Years ago I rebuilt KDE for a more up-to-date
version, and it was just a pain in the long run.  How many modifications is
this making?

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #4 from Jay Schieber  ---
(In reply to Nate Graham from comment #3)
> Most likely, yes. FWIW works for me too using a newer version.

Hmm. This is looking nontrivial if you don't already have the setup in place
for KDE compilation.  I looked at this site:

https://okular.kde.org/download.php

and downloaded the latest tarball. I was getting errors about missing
ecm-config.cmake and Qt5Config.cmake, which I fixed by these instructions:

https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#Missing_ecm-config.cmake

However, I still get errors like this:

-- Could NOT find Qt5TextToSpeech (missing: Qt5TextToSpeech_DIR)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:39
(message):
  Failed to find Qt5 component "TextToSpeech" config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt5TextToSpeech/Qt5TextToSpeechConfig.cmake"
Call Stack (most recent call first):
  CMakeLists.txt:36 (find_package)

-- Qt5TextToSpeech not found, speech features will be disabled
-- Could NOT find KF5Archive (missing: KF5Archive_DIR)
-- Could NOT find KF5Archive: found neither KF5ArchiveConfig.cmake nor
kf5archive-config.cmake 
-- Could NOT find KF5Bookmarks (missing: KF5Bookmarks_DIR)
-- Could NOT find KF5Bookmarks: found neither KF5BookmarksConfig.cmake nor
kf5bookmarks-config.cmake 
-- Could NOT find KF5Completion (missing: KF5Completion_DIR)
-- Could NOT find KF5Completion: found neither KF5CompletionConfig.cmake nor
kf5completion-config.cmake 
-- Could NOT find KF5Config (missing: KF5Config_DIR)
-- Could NOT find KF5Config: found neither KF5ConfigConfig.cmake nor
kf5config-config.cmake 
-- Could NOT find KF5ConfigWidgets (missing: KF5ConfigWidgets_DIR)
-- Could NOT find KF5ConfigWidgets: found neither KF5ConfigWidgetsConfig.cmake
nor kf5configwidgets-config.cmake 
-- Could NOT find KF5CoreAddons (missing: KF5CoreAddons_DIR)
-- Could NOT find KF5CoreAddons: found neither KF5CoreAddonsConfig.cmake nor
kf5coreaddons-config.cmake 
-- Could NOT find KF5Crash (missing: KF5Crash_DIR)
-- Could NOT find KF5Crash: found neither KF5CrashConfig.cmake nor
kf5crash-config.cmake 
-- Could NOT find KF5IconThemes (missing: KF5IconThemes_DIR)
-- Could NOT find KF5IconThemes: found neither KF5IconThemesConfig.cmake nor
kf5iconthemes-config.cmake 
-- Could NOT find KF5KIO (missing: KF5KIO_DIR)
-- Could NOT find KF5KIO: found neither KF5KIOConfig.cmake nor
kf5kio-config.cmake 
-- Could NOT find KF5Parts (missing: KF5Parts_DIR)
-- Could NOT find KF5Parts: found neither KF5PartsConfig.cmake nor
kf5parts-config.cmake 
-- Could NOT find KF5ThreadWeaver (missing: KF5ThreadWeaver_DIR)
-- Could NOT find KF5ThreadWeaver: found neither KF5ThreadWeaverConfig.cmake
nor kf5threadweaver-config.cmake 
-- Could NOT find KF5WindowSystem (missing: KF5WindowSystem_DIR)
-- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake
nor kf5windowsystem-config.cmake 
-- Could NOT find KF5DocTools (missing: KF5DocTools_DIR)
-- Could NOT find KF5DocTools: found neither KF5DocToolsConfig.cmake nor
kf5doctools-config.cmake 
-- Could NOT find KF5JS (missing: KF5JS_DIR)
-- Could NOT find KF5JS: found neither KF5JSConfig.cmake nor kf5js-config.cmake 
-- Could NOT find KF5Wallet (missing: KF5Wallet_DIR)
-- Could NOT find KF5Wallet: found neither KF5WalletConfig.cmake nor
kf5wallet-config.cmake 
CMake Error at
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137
(message):
  Could NOT find KF5 (missing: Archive Bookmarks Completion Config
  ConfigWidgets CoreAddons Crash IconThemes KIO Parts ThreadWeaver
  WindowSystem DocTools JS Wallet) (Required is at least version "5.33.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378
(_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/ECM/find-modules/FindKF5.cmake:110
(find_package_handle_standard_args)
  CMakeLists.txt:56 (find_package)


Are there working instructions anywhere??

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

--- Comment #2 from Jay Schieber  ---
(In reply to Yuri Chornoivan from comment #1)
> The attached file works fine here (Okular 1.6.70, videos are playing as
> expected after the click).
> 
> Can you try some newer version than 1.3.3 (afaik 1.5 would be enough)?
> 
> Thanks in advance for your answer.

Many thanks for your quick reply.  I have tried the snap version, which is
1.6.1.
It crashes when trying to play the video. Would I have to build from sources to
get a different version?

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 404106] New: Unable to render video properly in pdf files created by pdftex

2019-02-08 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=404106

Bug ID: 404106
   Summary: Unable to render video properly in pdf files created
by pdftex
   Product: okular
   Version: 1.3.3
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Severity: crash
  Priority: NOR
 Component: PDF backend
  Assignee: okular-de...@kde.org
  Reporter: jay.schie...@gmail.com
  Target Milestone: ---

Created attachment 117932
  --> https://bugs.kde.org/attachment.cgi?id=117932&action=edit
Zipped file containing minimal minimal.pdf, *.m4v and minimal.tex files
illustrating the problem

I have tried two versions of okular.  Version 1.3.3 from the repository for
Ubuntu 18.04, and the most recent version that is a snap package (not sure what
that is, because they seem to use different version numbers).

I have two movies, both created by Mathematica, and both *.m4v files. I used
the multimedia package in LaTeX to embed the videos in the pdf files.  For
several years this worked fine. But not anymore.  In the 1.3.3 version, the
movies simply do not run.  In the snap package, okular crashes when they try to
run. That is the behavior on my desktop.  On my laptop, there is a little bit
more success in that the attached minimal file runs fine, but if I add a second
slide, with another video embedded, the second video does not work. 

My desktop and my laptop, which show different symptoms, have the same OS
versions:

KDE Plasma Version: 5.12.17
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 397948] Animation stops working in presentation mode

2018-08-31 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #6 from Jay Schieber  ---
Sorry, I keep adding to this.  I have now found that if I keep all of the movie
files in the same directory, and put the slides in presentation mode, only the
first slide plays correctly.  However, if I toggle between presentation and
window modes, it will then play correctly in the presentation mode.  This must
be a bug, no?

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 397948] Animation stops working in presentation mode

2018-08-31 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #5 from Jay Schieber  ---
I think that the real issue for the current problem is that the movie files are
currently stored in another directory.  This directory is added to the latex
file for the location of the movie, but that is somehow probably not passed to
the pdf file. I tested this by putting all of the files in the same directory. 
Still, all of the movies play in window mode, but only the first in
presentation mode.  Unfortunately, I don't know that I have a few videos small
enough to upload here as a minimal working example.  Also, part of this seems
to be a latex problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 397948] Animation stops working in presentation mode

2018-08-31 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #4 from Jay Schieber  ---
(In reply to Oliver Sander from comment #3)
> Hi Jay, unfortunately your example does not contain the actual movie files. 
> Apparently they are not actually embedded with the pdf file.
> 
> And what do you mean by "but still had an issue in one of the animations." ?

Hmmm.  I am not so sure about the movies being embedded.  
I have an old pdf made by latex that certainly has the movies embedded.
I was always able to freely move the pdf file alone and still play the
movies inside them.  I have one of those, and it is a very large file (14MB),
which suggests that it has the movies embedded.  I was also able to move the
pdf alone from my desktop to my laptop and have it work.  However, now if I
move
it to another directory without the movies, okular cannot play them.  It seems
as if okular is just assuming that it needs to look externally. Unfortunately,
the only way to track this question down would be to install a whole new OS 
(Ubuntu 16.04) on a VM and try changing things there. 

I just tried to attach the media files, but they are too large.
The additional problem that I mentioned is that the movie shows up,
but just flashes quickly, as if there were just one or two frames.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 397948] Animation stops working in presentation mode

2018-08-29 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #2 from Jay Schieber  ---
OK, another comment.  I installed okular using snap, which was a higher
version, 1.4.4.  This worked somewhat better, but still had an issue in one of
the animations.

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 397948] Animation stops working in presentation mode

2018-08-29 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=397948

--- Comment #1 from Jay Schieber  ---
Created attachment 114689
  --> https://bugs.kde.org/attachment.cgi?id=114689&action=edit
example problem

Here is an example of a pdf made from latex.  There are four slides, and an
animation on each slide. The first slide animation works in presentation mode. 
The remaining slides show animation only when not in presentation mode.  
If I delete the first slide from latex and recompile, then the new first slide
(the previous second slide) now works in presentation mode, but the others do
not. If I remove the first slide using pdftk, then the same behavior is seen:
whatever the first slide is works, and the remaining do not.  I am not able to
check if this problem persists in later versions of okular (say 1.4), since I
am unable to compile it on ubuntu 18.04

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 397948] New: Animation stops working in presentation mode

2018-08-27 Thread Jay Schieber
https://bugs.kde.org/show_bug.cgi?id=397948

Bug ID: 397948
   Summary: Animation stops working in presentation mode
   Product: okular
   Version: 1.3.3
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-de...@kde.org
  Reporter: jay.schie...@gmail.com
  Target Milestone: ---

I have had animation working for several years with LaTeX Beamer, when using
the multimedia package.  I recently upgraded to Ubuntu 18.04.  The animation in
Okular works fine as a window, but when I switch to presentation mode it no
longer works. Some new control buttons show up, but no animation.  I could try
to provide a minimal working example, if you need it, but the switches look
like this:

\movie[
  showcontrols,
  autostart,
  loop,   % play continuously
] 
{\includegraphics[width=\textwidth]{../frame_capture.png}}
{movie.m4v}

-- 
You are receiving this mail because:
You are watching all bug changes.