With "Show a count of items in Tree Views" Trash shows count of 0 instead of numer of items in trash. Reproducible: Always Steps to Reproduce: 1. "Show a count of items in Tree Views" 2. Compare the numer of items shown in tree view with actual trash contents Actual Results: Tree view always shows 0 Expected Results: Numer of items in trash
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