Bug 358896 - Folder size listed as 4KiB
Summary: Folder size listed as 4KiB
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-01 22:02 UTC by Kai Uwe Broulik
Modified: 2016-02-08 09:54 UTC (History)
2 users (show)

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


Attachments

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