Bug 416745

Summary: no relative path or deletion time displayed
Product: [Applications] digikam Reporter: Daniel <daniel-other+kdebug>
Component: Albums-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.5.0
Sentry Crash Report:

Description Daniel 2020-01-25 12:45:03 UTC
SUMMARY
when I go to the trash in digikam, no relative path or deletion time is displayed. If i click on these columns to sort them, they are randomly sorted

STEPS TO REPRODUCE
1. Go to trash
2. see that relative path and deletion time column are empty

EXPECTED RESULT
they should be filled with the correct data


SOFTWARE/OS VERSIONS
latest digikam git commit

ADDITIONAL INFORMATION
I cleared the .dtrash folder before to make sure only files managed by digikam are in this folder, but it didn't help
Comment 1 Daniel 2020-01-25 13:08:36 UTC
Ok, I deleted the .dtrash folder again, now it's working as expected. Don't know what caused a problem there.
Comment 2 Maik Qualmann 2020-01-25 13:14:39 UTC
This could only happen if the "info" folder in the .dtrash directory has been deleted or is not readable. I have never seen this problem.

Maik
Comment 3 Daniel 2020-01-25 16:08:38 UTC
(In reply to Maik Qualmann from comment #2)
> This could only happen if the "info" folder in the .dtrash directory has
> been deleted or is not readable. I have never seen this problem.
> 
> Maik
Indeed, there was no info folder (but digikam could have created it, permissions where right)

Maybe it would be a good idea to either warn the user if the info folder is missing, or create it if is missing.