Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Okular freezes/delays on printing  (Read 3532 times)

Offline 10toe

  • User
  • Posts: 159
Okular freezes/delays on printing
« on: 2017/10/10, 19:25:25 »
Hi everybody,


does anybody experience a slow printing dialog on okular, too?


Pressing Print (ctrl+p) -> freeze for about 10-15 seconds -> printing dialog normal -> pressing print -> another 10-15 seconds freeze -> prints normaly.


Actually printing works, just those new delays are annoying...


Any suggestions? Thanks a lot! :-)
Cheers!
Hans

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: Okular freezes/delays on printing
« Reply #1 on: 2017/10/10, 23:57:07 »
No suggestions, but yes, I can confirm this pause after ctrl+p since several weeks.
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline whistler_mb

  • User
  • Posts: 198
Re: Okular freezes/delays on printing
« Reply #2 on: 2017/10/11, 11:35:54 »
There is some kind of network printer detection. But I don't know which service is responsible for this.

Offline Geier0815

  • User
  • Posts: 586
Re: Okular freezes/delays on printing
« Reply #3 on: 2017/10/12, 09:38:49 »
Have a look here "IDEs and tooling" explains what happen and how to solve it. I hope this works in debian too, but no garantee.
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

Offline whistler_mb

  • User
  • Posts: 198
Re: Okular freezes/delays on printing
« Reply #4 on: 2017/10/12, 14:42:21 »
This setting does not change the behaviour on my computer  :(

Code: [Select]
~$ export -p
declare -x QT_DISABLE_PRINTER_DISCOVERY="1"

Offline 10toe

  • User
  • Posts: 159
Re: Okular freezes/delays on printing
« Reply #5 on: 2017/10/12, 20:50:16 »
Mine neither... :-(

Thanks for the link, though, Geier0815. It's exactly the behaviour.

Cheers!
Hans

Offline jaegermeister

  • User
  • Posts: 222
Re: Okular freezes/delays on printing
« Reply #6 on: 2017/10/15, 10:39:02 »
Hello, this morning I came here just to write a report about okular taking 10 seconds to show printing mask, and I found this thread, so I don't feel alone anymore. All other software I print from doesn't show this annoying behaviour. Must be around one month I see this.

I also tried to purge and reinstall, but no change. Also the string to disable print discovery (bad, bad hack, btw) has no effect. In my opinion there must be some regression within okular code.
---------------------------------------
SI VIS PACEM PARA BELLVM
---------------------------------------

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: Okular freezes/delays on printing
« Reply #7 on: 2017/10/15, 11:35:50 »
For me the link from Geier0815 doesn't work, too, because in my setup the printer is a network printer where that solution is not applicable.
Thinking about network, I rememberd some bug reports (can't find the link) mentioning ipv6 issues with cups-browsed, and okular using cups in a 'special' way. As said, I cannot find that any more but inspected my cups and network setup to no avail.
... In my opinion there must be some regression within okular code.
That, or Qt5 withdraws more and more from Qt4. As far as I understood, Okular is one of the remaining, yet not ported KDE4 programs. Could that play a role?
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline clubex

  • User
  • Posts: 265
Re: Okular freezes/delays on printing
« Reply #8 on: 2017/10/15, 12:41:06 »
der_bud: You're probably correct. I've been using qpdfview to print a daily pdf ever since the problem with okular appeared. qpdfview isn't quite as capable as okular but it does print reasonably fast. Pointedly qpdfview depends on qt5 whereas as you say okular depends on qt4.