https://bugs.kde.org/show_bug.cgi?id=329740
Bug ID: 329740 Summary: Okular hangs in presentation mode when displaying PDFs Classification: Unclassified Product: okular Version: 0.17.3 Platform: unspecified OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: PDF backend Assignee: okular-devel@kde.org Reporter: phi...@phihag.de When I run okular to show a PDF file (doesn't matter which, http://www.debian.org/doc/manuals/debian-faq/debian-faq.en.pdf for example) and select VIew -> Presentation (or press Ctrl+Shift+P), the screen that okular is configured to present on is covered by a gray window. This only happens for PDF files, eps/ps/jpg/txt files do not exhibit the behavior. I cannot interact with this window (Pressing B, Esc, or clicking does nothing), and the main window stops repainting or reacting to mouse or keyboard commands as well. strace-ing shows open("/etc/cups/client.conf", O_RDONLY) = -1 ENOENT (No such file or directory) socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 14 setsockopt(14, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(14, SOL_SOCKET, 0xf /* SO_??? */, [1], 4) = -1 ENOPROTOOPT (Protocol not available) setsockopt(14, SOL_TCP, TCP_NODELAY, [1], 4) = 0 fcntl(14, F_SETFD, FD_CLOEXEC) = 0 fcntl(14, F_GETFL) = 0x2 (flags O_RDWR) fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(14, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("10.125.2.134")}, 16) = -1 EINPROGRESS (Operation now in progress) fcntl(14, F_SETFL, O_RDWR) = 0 poll([{fd=14, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout) poll([{fd=14, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout) poll([{fd=14, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout) poll([{fd=14, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout) poll([{fd=14, events=POLLIN|POLLOUT}], 1, 250) = 0 (Timeout) .... 10.125.2.13 is a printer that my cups seems to have picked up automatically, but is not reachable at the moment. After 30 seconds (or immediately if I'm not connected to a network), okular renders the presentation and resumes working. Printing or Print preview show the same symptoms (minus the grey window). Full Screen works fine. While waiting for anything from the network before rendering UI is a bad idea, I could understand that if I would actually want to print. There should be no need to contact the printer upon entering presentation mode. Reproducible: Always Steps to Reproduce: 1. Open a PDF document 2. Press Ctrl+Shift+P Actual Results: Okular is unresponsible for 30 seconds Expected Results: When entering presentation mode, not contact the printer in the first place. When entering the printing dialog: Contacting the printer asynchronously or in another thread. debian sid -- 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