Deleting a song from the collection using the context menu action in the collection browser doesn't work.
Can you check to see if the file is being deleted _from_ disk. Likely you are seeing that the song entry isn't removed from the Collection Browser tree view, even though the file has been deleted from disk. If this is the case (which I think it is), then this is a bug somewhere in the collection model.
I think this Bug is located where the Database is updated. Could bei in DatabaseUpdater.cpp or in SqlCollection.cpp in collection/sqlcollection.
Casey: Sorry, should have been more specific. I delete a song with the context menu action. It does not go away from the collection browser. I drag it to the playlist and can play it just fine.
Created attachment 32295 [details] Patch for deleting files in Amarok2
I confirm this bug on amarok SVN (rev 941944). I've found a reason of the bug and have posted a patch (look at attachement).
Comments on patch: File wasn't deleted from both collection and a disk because of incorrect result checking of delete confirmation dialog. It returns Cancel or Continue, but in code the return value was compared to Yes. So everything worked like the confirmation failed (user pressed Cancel) and nothing was done.
SVN commit 942588 by markey: Fix deleting tracks from the Collection browser. Many thanks for the patch go to Valentin Pavlyuchenko <TheValik@gmail.com>. Please review and test this a bit, everyone (I'm not familiar with the code). BUG: 187592 M +1 -1 SqlCollection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=942588