Bug 314141 - Files: Number after category does not match number of displayed files
Summary: Files: Number after category does not match number of displayed files
Status: RESOLVED FIXED
Alias: None
Product: Active
Classification: Unmaintained
Component: Applications (show other bugs)
Version: Integration
Platform: Other Linux
: HI major
Target Milestone: PA 4
Assignee: active
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 16:48 UTC by Thomas Pfeiffer
Modified: 2013-03-29 20:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfeiffer 2013-01-30 16:48:15 UTC
On my device in Files, the number next to Images reads 63, but I can only see 29 images. The number next to Documents reads 36, but I can only see 25 documents.
videos and Music show the correct numbers

Reproducible: Always

Steps to Reproduce:
1. Open FIles
2. Compare number next to category with the number of visible files in that category (all pages together)

Actual Results:  
Numbers mismatch for some categories

Expected Results:  
Numbers match
Comment 1 Thomas Pfeiffer 2013-02-26 20:57:29 UTC
After running Nepomuk Cleaner, the number of images is now correct, but Documents is still off: I can see 36 document files in Files, but the number in the Filters tab says 42
Comment 2 Thomas Pfeiffer 2013-03-27 12:54:32 UTC
Changing to "Major" to make it a release blocker: It's not bad functionality-wise, but would be pretty embarrassing in a released version. If we don't get it fixed before release, the numbers should simply be (temporarily) removed (they're not crucial information anyway).
Comment 3 Thomas Pfeiffer 2013-03-28 15:41:19 UTC
Decision: unless notmart finds an easy fix, we'll remove the numbers for PA and maybe reintroduce them once we get them to work properly.
Comment 4 Marco Martin 2013-03-28 16:27:18 UTC
Git commit 088f40eb50c85b5bd675a17ba50cfb870b84af40 by Marco Martin.
Committed on 28/03/2013 at 17:26.
Pushed by mart into branch 'pa4/criticalfixes'.

hide resource number

resource number is not overly useful, and at the moment appears to be wrong
it would still need to be replaces with faster queries

M  +1    -1    applications/filebrowser/package/contents/ui/TypeFilter.qml

http://commits.kde.org/plasma-mobile/088f40eb50c85b5bd675a17ba50cfb870b84af40
Comment 5 Thomas Pfeiffer 2013-03-29 20:37:06 UTC
Numbers are gone, workaround successful :)