Bug 358896

Summary: Folder size listed as 4KiB
Product: [Plasma] plasmashell Reporter: Kai Uwe Broulik <kde>
Component: Desktop icons & Folder View widgetAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: minor CC: mklapetek, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2016-02-01 22:02:08 UTC
When hovering a folder with tooltips enabled they are shown as "Size: 4 KiB". While this might be technically correct, this information is useless. It should either not show a size at all or, like Dolphin does it, show the number of elements in that folder (eg. 252 if there's, say, 250 files and 2 folders on the next level, not recursively)

Reproducible: Always

Steps to Reproduce:
1. Enable tooltips
2. Hover a folder
3. Wait for tooltip to appear

Actual Results:  
Tooltip says folder size: 4 KiB

Expected Results:  
Tooltip states no size or displays the number of items within that folder
Comment 1 Eike Hein 2016-02-08 09:54:01 UTC
Git commit b90b4b74dfc0d394f655db095fd3ef581ede4b85 by Eike Hein.
Committed on 08/02/2016 at 09:53.
Pushed by hein into branch 'Plasma/5.5'.

Hide folder size from tooltips.

M  +7    -1    containments/desktop/package/contents/ui/FolderItemDelegate.qml
M  +5    -1    containments/desktop/plugins/folder/foldermodel.cpp

http://commits.kde.org/plasma-desktop/b90b4b74dfc0d394f655db095fd3ef581ede4b85