Summary: | Okular takes an extreme amount of time to load a djvu file over samba | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | John van Spaandonk <jwork123nl> |
Component: | DjVu backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | barafu, nate, postix |
Priority: | NOR | ||
Version First Reported In: | 1.3.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
John van Spaandonk
2019-07-16 08:53:24 UTC
Additional information: other Okular document windows stay usable as well. So only the newly created Okular window is frozen, and displays part of what was under it, since it does not update. Does the issue reproduce if you try to: 1. Open the file from Okular's Open dialog? 2. Browse to the file using a KIOslave path (e.g. smb://server/share/path/to/file.djvu) rather than via a local mount and then try to open it? 3. Open the same file in a different KDE app (e.g. Kate; it won't be usable, but it will try to load)? 4. Use Okular to open a different kind of document file that's located on that Samba share? Nate thanks for looking into this. Answering your information request: 1. I tried recent files from the Okular file menu, also takes very long / same as double clicking in Dolphin 2. smb://192.168.1.2/data/ (this is the literal string I typed in Dolphin) reports a timeout on server in Dolphin. TheKIO smb slave does not seem to work for me. The address is correct. 3. The file opens in kate in about .5 second, the same file in Okular in about 30 seconds. 4. Using Okular to open a PDF document is not as fast as local, but still about 10 times faster than a .djv or .djvu file. For me the analysis points to the .djv part of Okular. Thanks, that's very good information. It would be great if you can somehow get the Samba KIOSlave working to try loading it directly from that path rather than the local mount. You can try adding the username and password into the URL, like so: smb://user:password@192.168.1.2/data/ Good idea nate! On the workstation: Same problem with the smb client, server timeout. Tried with my kde laptop, which was kubuntu 18.04 also but I managed to rebase it to muon, it is current. So plasma 5.16.2 I think. Here the kio-slave works: book read in about 2 seconds, over wifi even. using (in another Dolphin tab) a mounted smb share (via fstab) I had to kill okular after 1:30 had passed. Laptop is 8 years old dell XPS, not as fast as the desktop. Note that Okular blocks also that Dolphin instance until I kill it. But at least I managed to show that using smb: on the laptop it is much faster than via a mounted drive on the desktop. Same book takes about 40 seconds on the desktop. *** Bug 418691 has been marked as a duplicate of this bug. *** This seems to have been solved, perhaps by updating a backend. I will close my bug report. I also tested the duplicate bug 418691 by downloading the attached picture to a samba share and opening it with okular. This also works for me. |