Summary: | With "Show a count of items in Tree Views" Trash always shows count of 0 [patch] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michal Sylwester <msylwester> |
Component: | Albums-Trash | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin, mohammed.ahmed.anwer |
Priority: | NOR | ||
Version: | 5.0.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/e69fd26625e9ad29abca4dd68d7f0d044965ae6a | Version Fixed In: | 5.0.0 |
Sentry Crash Report: | |||
Attachments: | trashItemsCount.patch |
Description
Michal Sylwester
2016-02-07 04:49:13 UTC
Right i confirm the bug about the trash tree-view... Mohamed, if you can take a look please... Gilles Caulier Created attachment 97072 [details]
trashItemsCount.patch
A first idea for a solution. The Trash album is virtual. The number of items can not be retrieved from the DB. Maybe has Mohamed a better idea.
Maik
Tested : patch is fine for me. It's better than nothing. Mohamed ? Gilles I was intending to add a text file inside ".dtrash" folder containing the number of deleted files and some other info, and It will be much faster, But this patch will be good for the moment, I recommend applying it. Sorry for late response, I am still working on some projects related to college. Git commit e69fd26625e9ad29abca4dd68d7f0d044965ae6a by Maik Qualmann. Committed on 08/02/2016 at 18:58. Pushed by mqualmann into branch 'master'. workaround for Trash items count always shows 0 FIXED-IN: 5.0.0 M +2 -1 NEWS M +20 -3 libs/models/abstractalbummodel.cpp http://commits.kde.org/digikam/e69fd26625e9ad29abca4dd68d7f0d044965ae6a |