Summary: | Dolphin crashes after trying to create a file in a KIO-mounted zip file | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Matteo Italia <kde> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | elvis.angelaccio, krammer |
Priority: | NOR | ||
Version: | 4.13.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Matteo Italia
2014-08-29 00:14:44 UTC
I can confirm the wrong error message, i.e. saying "tar" instead of "zip". But Doplhin does not crash for me, same versions, but on Debian/SID. Interestingly attempting to create a file results in an error message box, while attempting to create a new directory results in an error in a KMessageWidget between path and main view. I tried again on another Kubuntu 14.04 machine (your comment made me suspect that it was a machine-specific issue), but I can reproduce it consistently. In the process I discovered another bizarre fact: if I jump to the zip-URL in an already existing Dolphin window, the directory is treated as read-only (the "Create" commands are disabled); this is not the case if I start dolphin passing the path as command line argument. As a data point: I also did not enter the ZIP URI manually, but used kioclient exec zip-uri Thanks for the bug report. From my point of view, the actual bug (and the only issue that might be due to a bug in Dolphin itself, and not in kdelibs) is that the "Create New..." menu is enabled at all - AFAIK, the archive kioslaves do not support writing. The "zip vs. tar" confusion is most likely not Dolphin's fault (note that the error message comes from KIO). The crash backtrace looks like many others that have been reported - most probably a KIO issue. (In reply to Kevin Krammer from comment #1) > Interestingly attempting to create a file results in an error message box, > while attempting to create a new directory results in an error in a > KMessageWidget between path and main view. The origin of this difference is most likely inside the "Create New..." menu or some other kdelibs code that it uses. There's surely an UI bug that depends on how Dolphin was started - as said above, if the URI is entered directly in the address bar, Dolphin correctly understands that the path is read-only and disables all the write-related stuff, it's only starting Dolphin ex-novo that yields this problem. OTOH, it should probably be investigated whether, besides the UI bug, Dolphin fails to handle the KIO error (and crashes in its code), or if the crash happens directly inside KIO. (In reply to Matteo Italia from comment #5) > OTOH, it should probably be investigated whether, besides the UI bug, > Dolphin fails to handle the KIO error (and crashes in its code), or if the > crash happens directly inside KIO. This has already been investigated. Your backtrace clearly shows that the crash occurs inside KIO. "Create New" is no longer enabled on zip:// or tar:// urls, closing. |