Bug 369334

Summary: When deleting folder, it should warn about non-image files
Product: [Applications] digikam Reporter: Mathieu MD <mathieu>
Component: Albums-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0

Description Mathieu MD 2016-09-25 15:23:24 UTC
If you have non-image files into a folder (.zip, .txt, etc.) DigiKam will not warn you when you will delete the folder. I agree DK is not expected to display these files, but still, I feel unsafe if it is able to delete a folder containing other files without at least warning me about them.

Reproducible: Always

Steps to Reproduce:
1. Create a folder under one of your collections
2. Open it with file explorer (Dolphin for me)
3. From the file explorer, create a text file
4. Back to DK, delete the folder

Actual Results:  
DK ask the usual question about deleting the folder itself, but don't warn about the text file, and when confirmed actually remove the folder.

Expected Results:  
DK should explicitly warn about the presence of this text file.

Fortunately, the text file is actually moved into the trash, and so it can be retrieved. But one may not check trash content very often...
Comment 1 Maik Qualmann 2016-12-10 21:30:36 UTC

*** This bug has been marked as a duplicate of bug 216412 ***
Comment 2 caulier.gilles 2021-04-04 07:43:59 UTC
Fixed with #216412