Siduction Forum

Siduction Forum => Software - Support => Topic started by: 10toe on 2017/10/10, 19:25:25

Title: Okular freezes/delays on printing
Post by: 10toe 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
Title: Re: Okular freezes/delays on printing
Post by: der_bud on 2017/10/10, 23:57:07
No suggestions, but yes, I can confirm this pause after ctrl+p since several weeks.
Title: Re: Okular freezes/delays on printing
Post by: whistler_mb 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.
Title: Re: Okular freezes/delays on printing
Post by: Geier0815 on 2017/10/12, 09:38:49
Have a look here (https://en.opensuse.org/Portal:42.3/Features) "IDEs and tooling" explains what happen and how to solve it. I hope this works in debian too, but no garantee.
Title: Re: Okular freezes/delays on printing
Post by: whistler_mb 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"
Title: Re: Okular freezes/delays on printing
Post by: 10toe on 2017/10/12, 20:50:16
Mine neither... :-(

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

Cheers!
Hans
Title: Re: Okular freezes/delays on printing
Post by: jaegermeister 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.
Title: Re: Okular freezes/delays on printing
Post by: der_bud 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?
Title: Re: Okular freezes/delays on printing
Post by: clubex 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.