Summary: | Okular crashes when editing forms in a PDF that's located inside an archive | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | sedrubal <kde> |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, elvis.angelaccio, justin.zobel, kde, nate, null, rthomsen6, simonandric5 |
Priority: | NOR | Keywords: | drkonqi |
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | An example zip with pdf with forms |
Description
sedrubal
2017-06-17 13:03:25 UTC
Created attachment 106141 [details]
An example zip with pdf with forms
Confirmed with Okular 1.0.3, Ark 16.12.3, in Kubuntu 17.0.4. After editing the form, you just close Okular; don't save first. This also reproduces when bypassing Ark entirely and opening the PDF from within Dolphin, when viewing the archive as a folder. Moving to Okular. Testing with KDE Applications 17.12 Beta via "okular zip:/home/user/form_english.zip/form_english.pdf", Okular still crashes, but at least we get an error beforehand which makes sense: "Error: 'Writing to zip is not supported.'. Try to save it to another location." I can confirm that saving to another location does work correctly. There are still two problems here: - Okular should not crash afterwards. - Why doesn't Okular support saving to zip:/, isn't this just another kioslave like fish:/ (which works fine with annotations)? Henrik where did you get a zip ioslave from? Would "protocol" be a more appropriate terminology? Regardless, let's focus on the crash in this bug. (In reply to Henrik Fehlauer from comment #5) > Would "protocol" be a more appropriate terminology? No. (Since you said to focus on the bug i won't explain here why, if you're interesed in reasons we can have a private discussion over email/irc/whatever) So are you going to tell me where i can find the zip ioslave so i can try to fix this bug or what? Just tried it again on a standard Plasma installation with Okular 1.3.2: - okular zip:/home/user/form_english.zip/form_english.pdf - Entered text into the form - Closed Okular (chose to discard) - Aborted (core dumped) Ok, since Henrik didn't seem to want to answer my question i'll answer myself, the kio ioslave comes with kio-extras (OT)
> since Henrik didn't seem to want to answer my question
What? I always try to answer questions in the best way possible. In fact, I specified where my way of accessing the zip file came from: "a standard Plasma installation". If you are looking for the name of the repository the particular code responsible for that functionality lives in, you should put that in your original (or follow-up) question. Don't just assume I built it from source and then blame me for not getting you the answer you looked for.
(In reply to Henrik Fehlauer from comment #10) > (OT) > > > since Henrik didn't seem to want to answer my question > What? I always try to answer questions in the best way possible. In fact, I > specified where my way of accessing the zip file came from: "a standard > Plasma installation". If you are looking for the name of the repository the > particular code responsible for that functionality lives in, you should put > that in your original (or follow-up) question. Don't just assume I built it > from source and then blame me for not getting you the answer you looked for. Don't be pedantic, it's not smart. I clearly said "So are you going to tell me where i can find the zip ioslave so i can try to fix this bug or what?" and instead of answering "I don't know, I'm not a technical guy, you'll have to find for yourself", you simply ignored my question and didn't answer it at all, probably because you're angry I'm using the proper name of the technology for some reason. I've just tested this with the attached archived PDF in the preview and I am not experiencing the crash with Okular 1.11.3. Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you. Yes this should be fixed now. There is also an alert, that you can't save the document and you have to save it under another location. |