Summary: | krusader deletes! zip archive when user cut (ctrl-x) this archive and insert (ctrl-v) it to its own content (by accident) | ||
---|---|---|---|
Product: | [Applications] krusader | Reporter: | sobik2 <sobik2> |
Component: | general | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | jan_lepper, kevin.kofler, krusader-bugs-null |
Priority: | NOR | ||
Version: | 2.4.0-beta1 "Migration" | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/krusader/03ee68ab49c68bf1e1ca7b01fe08799462d510c4 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | error message |
Description
sobik2
2011-08-28 16:00:54 UTC
This bug is caused by the krarc kioslave. I don't have the time to fix krarc, so my "fix" is to disablee krarc for now. see commit dc1b210948c9e92023ceca36383500b635677636 IMHO, disabling the entire krarc is not an acceptable solution, and completely out of proportion with the "bug" it is fixing (trying to move an archive into itself, no wonder this doesn't work!). (The archive getting deleted is exactly what I'd expect to happen in this case. You move the archive into itself, which is now an unlinked inode, so bye bye archive. Of course, this isn't actually how it happens in practice, but I'm not surprised by the archive getting deleted in this situation at all.) See https://bugs.kde.org/show_bug.cgi?id=294542 for more comments on this. I re-enabled KrArc (see comment 4 for https://bugs.kde.org/show_bug.cgi?id=294542), therefore reintroducing this bug. A proper fix for will require some code-cleanup which won't happen until after the 2.4 release. Git commit 03ee68ab49c68bf1e1ca7b01fe08799462d510c4 by Jan Lepper. Committed on 07/09/2012 at 16:44. Pushed by janlepper into branch 'master'. ADDED: option: Archives > krarc > Enable Write Support CHANGED: krarc write support is disabled by default show a warning notice in Konfigurator about the implications of krarc write support M +2 -0 ChangeLog M +27 -0 krArc/krarc.cpp M +1 -0 krArc/krarc.h M +25 -2 krusader/Konfigurator/kgarchives.cpp M +0 -6 krusader/Panel/panelfunc.cpp M +2 -0 krusader/krslots.cpp http://commits.kde.org/krusader/03ee68ab49c68bf1e1ca7b01fe08799462d510c4 |