Summary: | Deleting an image from album gui denied | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Caspar Maessen <cmaessen> |
Component: | Albums-Trash | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.9.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: |
Description
Caspar Maessen
2007-03-14 21:37:03 UTC
Caspar, If you use Gnome, the problem have been reported recently in Mailing list. Gilles KDE 3.5.6 "release 31.4" openSUSE Caspar. Just tested the latest svn-version. No luck. As Gilles suggested I also looked up the thread in the archives. But since I use KDE, nothing mentioned there applies to my situation, As I stated before, the delete-key is working as it should under Konqueror as is the kio-slave. Entering trash:/ in Konqueror or in the file-dialog of Kate gives me access to the trashcan. So this leads to the assumption that it is something in digiKam. Being able to move files to trash with one keystroke (and so being able to recover) is essential to my workflow. Therefore I hope this one is solved shortly. Thanks. Caspar. I've got the same problem with today's svn version. Can't delete anything unless shift-delete from keyboard. I've verified rw access to this file. I confirm this bug. i can reproduce on my computer. Marcel, it sounds like a bug in kio-slave. right ? Gilles It's probably due to my recent change passing digikamalbum:/ URLs to the slave. I will have a look at it. Yes, Marcel... Try to provide to Achim a patch against 0.9.1 stable to fix current packages... Gilles SVN commit 649549 by mwiesweg: This, and commit 649547 which is missing a commit message, is for the trash:/ problem: The trash:/ ioslave does not have implemented its put method, it only likes local files. CCBUG: 142981 M +5 -0 imagewindow.cpp --- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp #649548:649549 @@ -897,6 +897,7 @@ kioURL = d->imageInfoCurrent->kurlForKIO(); else kioURL = d->urlCurrent; + KURL fileURL = d->urlCurrent; if (!palbum) return; @@ -927,6 +928,10 @@ // bring all (sidebar) to a defined state without letting them sit on the deleted file emit signalNoCurrentItem(); + // trash does not like non-local URLs, put is not implemented + if (useTrash) + kioURL = fileURL; + if (!SyncJob::del(kioURL, useTrash)) { QString errMsg(SyncJob::lastErrorMsg()); Caspar, Marcel: shouldn't this bug be closed after Marcel's patch, or is there still a problem? Thanks a lot, Arnd Works fine now. Caspar. |