D12067: [Okular Part] Add "Print" action

2018-04-11 Thread Nathaniel Graham
ngraham added a comment.


  In D12067#243884 , @aacid wrote:
  
  > Doesn't this mean that when you open okular you end up with two print 
actions?
  
  
  Yep:
  
  F5804952: Two Prints.png 

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D12067

To: broulik, #okular, aacid
Cc: ngraham, michaelweghorn, aacid


[okular] [Bug 393014] VideoWidget sizing in Presentation mode still not fixed

2018-04-11 Thread Kieran Ramos
https://bugs.kde.org/show_bug.cgi?id=393014

--- Comment #4 from Kieran Ramos  ---
For reference the problem with my original build was that QT_PLUGIN_PATH needs
to be set to include /usr/local/lib/x86_64-linux-gnu/plugins. After setting
that Okular works. Looking at the rest of the .setup-env script, probably
QML_IMPORT_PATH and QML2_IMPORT_PATH should be set as well (since
/usr/local/lib/x86_64-linux-gnu/qml isn't empty), but it wasn't necessary to
get the video working. Simply add the following to your ~/.profile or
~/.bashrc:

export QT_PLUGIN_PATH="/usr/local/lib/x86_64-linux-gnu/plugins:$QT_PLUGINPATH"
export QML_IMPORT_PATH="/usr/local/lib/x86_64-linux-gnu/qml:$QML_IMPORT_PATH"
export QML2_IMPORT_PATH="$QML_IMPORT_PATH:$QML2_IMPORT_PATH"

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

[okular] [Bug 393014] VideoWidget sizing in Presentation mode still not fixed

2018-04-11 Thread Kieran Ramos
https://bugs.kde.org/show_bug.cgi?id=393014

Kieran Ramos  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|FIXED   |INVALID

--- Comment #3 from Kieran Ramos  ---
I can confirm after following those build instructions Okular is working so my
report must be INVALID.

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

KDE CI: Applications okular stable-kf5-qt5 FreeBSDQt5.9 - Build # 53 - Unstable!

2018-04-11 Thread CI System
BUILD UNSTABLE
 Build URL
https://build.kde.org/job/Applications%20okular%20stable-kf5-qt5%20FreeBSDQt5.9/53/
 Project:
Applications okular stable-kf5-qt5 FreeBSDQt5.9
 Date of build:
Wed, 11 Apr 2018 17:34:35 +
 Build duration:
17 min and counting
   JUnit Tests
  Name: (root) Failed: 2 test(s), Passed: 14 test(s), Skipped: 0 test(s), Total: 16 test(s)Failed: TestSuite.mainshelltestFailed: TestSuite.parttest

KDE CI: Applications okular stable-kf5-qt5 WindowsMSVCQt5.10 - Build # 13 - Failure!

2018-04-11 Thread CI System
BUILD FAILURE
 Build URL
https://build.kde.org/job/Applications%20okular%20stable-kf5-qt5%20WindowsMSVCQt5.10/13/
 Project:
Applications okular stable-kf5-qt5 WindowsMSVCQt5.10
 Date of build:
Wed, 11 Apr 2018 17:34:35 +
 Build duration:
2 min 35 sec and counting
   CONSOLE OUTPUT
  [...truncated 146.73 KB...] * Qt5Core * Qt5DBus * Qt5Test * Qt5Gui (required version >= 5.10.1) * Qt5Widgets * Qt5PrintSupport * Qt5Svg * Qt5Network (required version >= 5.10.1) * Qt5Qml * Qt5Quick * Qt5 (required version >= 5.8.0) * KF5Archive (required version >= 5.33.0) * KF5Bookmarks (required version >= 5.33.0) * KF5Completion (required version >= 5.33.0) * KF5Config (required version >= 5.33.0) * KF5ConfigWidgets (required version >= 5.33.0) * KF5CoreAddons (required version >= 5.33.0) * KF5Crash (required version >= 5.33.0) * KF5DocTools (required version >= 5.33.0) * KF5IconThemes (required version >= 5.33.0) * KF5JS (required version >= 5.33.0) * KF5KIO (required version >= 5.33.0) * Gettext * KF5Parts (required version >= 5.33.0) * KF5ThreadWeaver (required version >= 5.33.0) * KF5Wallet (required version >= 5.33.0) * KF5WindowSystem (required version >= 5.33.0) * KF5 (required version >= 5.33.0) * Phonon4Qt5 * ZLIB-- The following OPTIONAL packages have not been found: * KDEExperimentalPurpose, A framework for services and actions integration   Required for enabling the share menu in Okular * TIFF * Freetype * EPub * Discount (required version >= 2)-- The following RECOMMENDED packages have not been found: * Poppler (required version >= 0.12.1), A PDF rendering library,Support for PDF files in okular. * LibSpectre (required version >= 0.2), A PostScript rendering library,Support for PS files in okular. * CHM, A library for dealing with Microsoft ITSS/CHM format files,Support CHM files in okular. * LibZip, A library for reading, creating, and modifying zip archives,Support CHM files in okular. * DjVuLibre (required version >= 3.5.17), A library for dealing with DjVu formatted files,Support for DjVu files in okular.-- Configuring done-- Generating done-- Build files have been written to: C:/CI/workspace/Applications okular stable-kf5-qt5 WindowsMSVCQt5.10/build[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Compiling)[Pipeline] bat[Applications okular stable-kf5-qt5 WindowsMSVCQt5.10] Running batch scriptC:\CI\workspace\Applications okular stable-kf5-qt5 WindowsMSVCQt5.10>call "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Auxiliary/Build/vcvars64.bat"  Visual Studio 2017 Developer Command Prompt v15.6.5** Copyright (c) 2017 Microsoft Corporation**[vcvarsall.bat] Environment initialized for: 'x64'jom 1.0.16 - empower your coresScanning dependencies of target okularcore_autogen[  0%] Automatic MOC for target okularcore[  0%] Built target okularcore_autogenScanning dependencies of target okular_autogen[  1%] Automatic MOC for target okular[  1%] Built target okular_autogenScanning dependencies of target okularGenerator_ooo_autogen[  1%] Automatic MOC for target okularGenerator_ooo[  1%] Built target okularGenerator_ooo_autogenScanning dependencies of target urldetecttest_autogen[  2%] Automatic MOC for target urldetecttest[  2%] Built target urldetecttest_autogenScanning dependencies of target editdrawingtooldialogtest_autogen[  2%] Automatic MOC for target editdrawingtooldialogtest[  2%] Built target editdrawingtooldialogtest_autogenScanning dependencies of target doc-index-cache-bz2[  2%] Generating index.cache.bz2jom: C:\CI\workspace\Applications okular stable-kf5-qt5 WindowsMSVCQt5.10\build\doc\CMakeFiles\doc-index-cache-bz2.dir\build.make [doc\index.cache.bz2] Error 2jom: C:\CI\workspace\Applications okular stable-kf5-qt5 WindowsMSVCQt5.10\build\CMakeFiles\Makefile2 [doc\CMakeFiles\doc-index-cache-bz2.dir\all] Error 2jom: C:\CI\workspace\Applications okular stable-kf5-qt5 WindowsMSVCQt5.10\build\Makefile [all] Error 2[Pipeline] }[Pipeline] // stage[Pipeline] }ERROR: script returned exit code 1[Pipeline] // catchError[Pipeline] emailextrecipients[Pipeline] emailext

[okular] [Bug 393014] VideoWidget sizing in Presentation mode still not fixed

2018-04-11 Thread Kieran Ramos
https://bugs.kde.org/show_bug.cgi?id=393014

Kieran Ramos  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED

--- Comment #2 from Kieran Ramos  ---
I see, perhaps I am doing something wrong. I built Okular with CMake in a
separate build directory, satisfied all requirements by installing devel
pacakges from apt, installed to /usr/local, then used it from there.

I just found this page:
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#kdesrc-build

I will follow those instructions and test.

Thanks.

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

[okular] [Bug 393014] VideoWidget sizing in Presentation mode still not fixed

2018-04-11 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=393014

Albert Astals Cid  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Albert Astals Cid  ---
Do you know how to run your own self compiled okular?

Otherwise I'm going to assume you did it wrong since it works just fine for me
https://www.youtube.com/watch?v=nGce4msRs6s

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

[okular] [Bug 393014] VideoWidget sizing in Presentation mode still not fixed

2018-04-11 Thread Kieran Ramos
https://bugs.kde.org/show_bug.cgi?id=393014

Kieran Ramos  changed:

   What|Removed |Added

 CC||aa...@kde.org

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

[okular] [Bug 393014] New: VideoWidget sizing in Presentation mode still not fixed

2018-04-11 Thread Kieran Ramos
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@kde.org
  Reporter: ramos.kie...@gmail.com
  Target Milestone: ---

Created attachment 111957
  --> https://bugs.kde.org/attachment.cgi?id=111957=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.

D11901: [Okular] Bug 387282: Highlighting of search results lost when rotating page

2018-04-11 Thread Ahmad Osama
ahmadosama updated this revision to Diff 31856.
ahmadosama added a comment.


  I used Okular::buildRotationMatrix to rotate the highlights, the rotation 
angle is specified in the rotateAt function

REPOSITORY
  R223 Okular

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D11901?vs=31291=31856

BRANCH
  HighlightTextBug (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D11901

AFFECTED FILES
  core/page.cpp

To: ahmadosama, #okular
Cc: aacid, ngraham, #okular, michaelweghorn


[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Zakhar
https://bugs.kde.org/show_bug.cgi?id=392991

Zakhar  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|UNCONFIRMED |RESOLVED

--- Comment #9 from Zakhar  ---
It is supported.

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Zakhar
https://bugs.kde.org/show_bug.cgi?id=392991

--- Comment #8 from Zakhar  ---
Created attachment 111951
  --> https://bugs.kde.org/attachment.cgi?id=111951=edit
command

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=392991

Michael Weghorn  changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #7 from Michael Weghorn  ---
Your first screenshot shows a "Duplex Printing" section. By saying there is no
duplex option, do you mean that everything except for "None" is greyed out?
(it's not visible on the screenshot)

Also, can you please run the following command in a terminal and paste the
output here (it lists the CUPS options available for your printer):

lpoptions -p Officejet_Pro_6830

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Zakhar
https://bugs.kde.org/show_bug.cgi?id=392991

--- Comment #6 from Zakhar  ---
Had to use google chrome for duplex.

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Zakhar
https://bugs.kde.org/show_bug.cgi?id=392991

--- Comment #5 from Zakhar  ---
Well after extensive searching in print menu dialogs I could NOT locate a
duplex option. Refer to screen shots.

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Zakhar
https://bugs.kde.org/show_bug.cgi?id=392991

--- Comment #4 from Zakhar  ---
Created attachment 111949
  --> https://bugs.kde.org/attachment.cgi?id=111949=edit
no duplex option 2

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Zakhar
https://bugs.kde.org/show_bug.cgi?id=392991

--- Comment #3 from Zakhar  ---
Created attachment 111948
  --> https://bugs.kde.org/attachment.cgi?id=111948=edit
no duplex option 1

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

[okular] [Bug 392991] Does not support duplex printing

2018-04-11 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=392991

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
I do duplex printing with Okular every day, so I'd say that your problem is
somewhere in the lower layers.  CUPS misconfiguration, maybe?

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