[KPhotoAlbum] Delete select (images) dialog

Jesper K. Pedersen blackie at blackie.dk
Mon Jan 8 22:35:57 GMT 2007


Christoph, I completely agree with you on your diagnostic, and agree this is a 
bug.

Will you take care of fixing it?

Thanks
Jesper.

On Friday 17 November 2006 00:03, Christoph Moseler wrote:
| Hi Jesper,
|
| I'm always wondering why the "Delete select"-dialog behaves a little bit
| weird when I try to delete files that are read-only. I normally
| chmod -R a-w
| the directories containing images (better is better). When I try to
| delete a read-only image, I would assume that all images that failed to
| delete would be kept in the kpa database. Otherwise I would never have a
| chance to correct the file permissions and try the deletion again.
|
| Having a look at "void DeleteDialog::deleteImages()" is making clear,
| why this happens. I get an error message for these files, but later on
| the files are deleted from kpa (in DB::ImageDB::instance()->deleteList(
| _list ) ).
|
| Images that failed to be removed from disk should be also removed from
| _list so that they are also not removed from the database.
|
|
| BTW: The dialog is doing nothing if neither "Delete images..." nor
| "Block from..." is checked. In this case, radio buttons would be better.
| If the user changes his mind at all, he has to press cancel.
|
| Well, it's up to you to consider this as an important bug or not, but I
| think we should fix it sometime.
|
| Cheers,
| Christoph
| _______________________________________________
| KPhotoAlbum mailing list
| KPhotoAlbum at kdab.net
| http://mail.kdab.net/mailman/listinfo/kphotoalbum

-- 
Having trouble finding a given image in your collection containing
thousands of images?

http://www.kphotoalbum.org might be the answer.



More information about the Kphotoalbum mailing list