[Okular-devel] [okular] [Bug 252596] okular printing options not working when printing to file (pdf/ps)

2015-03-26 Thread sur-behoffski
https://bugs.kde.org/show_bug.cgi?id=252596

sur-behoffski  changed:

   What|Removed |Added

 CC||sur-behoff...@grouse.com.au

--- Comment #11 from sur-behoffski  ---
I'm using a similar version of Okular under Gentoo, and am seeing the same
results.  The complaint came from a users who was using Linux Mint 17.1 (with
up-to-date patches), so both sources rely on the Debian packaging system.  

$ okular --version
Qt: 4.8.5
KDE Development Platform: 4.14.3
Okular: 0.20.3
$ 


The problem manifested itself as Okular silently refusing to produce more than
one physical sheet of a 5-physical-sheet document... in a job where
4-pages-per-page was requested (on an A4 sheet, for what it's worth).  

I was eventually able to generate the desired printout using various pdftools,
provided by ghostscript-gpl-9.10-r2:

$ pdf2ps document.pdf
$ psnup -d -4 document.ps 4-up.ps
$ ps2pdf 4-up.ps 4-up.pdf
$ pdfseparate 4-up.pdf "4-up-%d.pdf"
$ lpr 4-up-1.pdf 4-up-2.pdf 4-up-3.pdf # (etc)

The key is that the pdf2ps step complains mightily about an ill-formatted PDF
document, but then does a best effort to keep going.  My impression is that
Okular sees this error, and silently bails out, leaving the user with a
mysterious failure.  The error/warning message on the pdf2ps step is:

$ pdf2ps document.pdf
    Warning:  An error occurred while reading an XREF table.
    The file has been damaged.  This may have been caused
    by a problem while converting or transfering the file.
    Ghostscript will attempt to recover the data.

    This file had errors that were repaired or ignored.
    The file was produced by: 
     Microsoft® Word 2010 
    Please notify the author of the software that produced this
    file that it does not conform to Adobe's published PDF
    specification.

$ 

Incidentally, another PDF document, produced on a Mac with an Adobe toolchain,
did not suffer any problems when a 4-up print request from Okular was given.  

Although the feedback loop might be hard to manage (probably due to
asynchronous daemon issues), I would recommend that KDE and/or Okular look out
for this error case, and try to inform the user.  

Alternately, this bug might be fixed in a more recent version of Okular.  At
present, Gentoo only provides a 4.14.3 ebuild, and I haven't hunted around for
non-mainstream Portage respositories that might hold Okular 0.21.  

-- sur-behoffski

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] [okular] [Bug 321992] Feature request: Can the highlighter automatically fill the attached pop-up note with highlighted text.

2015-03-26 Thread John SQ Liu
https://bugs.kde.org/show_bug.cgi?id=321992

John SQ Liu  changed:

   What|Removed |Added

 CC||jsq...@gmail.com

--- Comment #4 from John SQ Liu  ---
Hello I'm an Okular and Docear user.  I modified a few lines in
ui/pageviewannotator.cpp's TextSelectorEngine to implement the requested
feature.  Would you be interested in including it as default behavior or
potentially as a menu option?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


[Okular-devel] Jenkins build is unstable: okular_master_qt5 #1

2015-03-26 Thread KDE CI System
See 

___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel


Re: [Okular-devel] Review Request 115532: Fade In and Fade Out transition in presentation mode okular

2015-03-26 Thread Saheb Preet Singh

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115532/
---

(Updated March 26, 2015, 12:31 p.m.)


Review request for Okular.


Bugs: 317073
http://bugs.kde.org/show_bug.cgi?id=317073


Repository: okular


Description
---

implemented fade in and fade out transition for presentation mode in okular.


Diffs (updated)
-

  conf/dlgpresentationbase.ui 31db693 
  conf/okular.kcfg f980989 
  ui/presentationwidget.h a99b8ce 
  ui/presentationwidget.cpp d676069 

Diff: https://git.reviewboard.kde.org/r/115532/diff/


Testing
---


Thanks,

Saheb Preet Singh

___
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel