Bug 416745 - no relative path or deletion time displayed
Summary: no relative path or deletion time displayed
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Trash (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-25 12:45 UTC by Daniel
Modified: 2022-01-02 22:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.