Bug 412901

Summary: When we hover over a folder, "Size" shown in Information Panel should tell us the space it occupies in the file system instead of the number of items inside it
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: panels: informationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: 329c495bf3, kfm-devel, meven29, nate
Priority: NOR    
Version: 23.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Patrick Silva 2019-10-13 12:02:39 UTC
When I hover over a file, "Size" shows the size that it occupies
in the file system. I think that "Size" is the correct term in this case.

However, when I hover over a folder, "Size" indicates the amount
of files/folders present in such folder. I think that "Size" is not the right
term here. Maybe "Content" is a more appropriate term that would make
the informaton clearer.

Furthermore, if no item is hovered, Information Panel shows "Size: X items"
and "Hidden items: X items". I suggest replace them with "Content: X items"
and "Hidden content: X items". "Hidden items: X items" seems a bit redundant.


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.17.80
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1
Comment 1 abdulajari 2020-02-11 23:18:25 UTC
(In reply to Patrick Silva from comment #0)
> When I hover over a file, "Size" shows the size that it occupies
> in the file system. I think that "Size" is the correct term in this case.
> 
> However, when I hover over a folder, "Size" indicates the amount
> of files/folders present in such folder. I think that "Size" is not the right
> term here. Maybe "Content" is a more appropriate term that would make
> the informaton clearer.
> 
> Furthermore, if no item is hovered, Information Panel shows "Size: X items"
> and "Hidden items: X items". I suggest replace them with "Content: X items"
> and "Hidden content: X items". "Hidden items: X items" seems a bit redundant.
> 
> 
> SOFTWARE/OS VERSIONS
> Operating System: KDE neon Unstable Edition
> KDE Plasma Version: 5.17.80
> KDE Frameworks Version: 5.64.0
> Qt Version: 5.13.1

I don't think this is a bug, you should probably put this on the feature requests area.
Comment 2 Patrick Silva 2022-05-22 14:12:23 UTC
STEPS
1. open Dolphin
2. enable info panel by pressing F11
3. hover over a file and obverse 'Size' shown in info panel - it's the file size in KiB, MíB, etc
4. hover over a folder and observe 'Size' in info panel: it's the amount of items inside the folder

EXPECTED:
when we hover over a folder, 'Size' in info panel should tell us the space that the folder occupies in the file system in KiB, MiB, etc.
The Information Panel could have a new item called 'Content' to tell us the amount of items inside the folder.
Comment 3 Patrick Silva 2022-09-17 14:38:36 UTC
Info panel of Dolphin 22.08.1 shows wrong size of contents. For example, when I hover over a folder containing 700 GiB, info panel says 'Size: 204 KiB'.
Comment 4 Patrick Silva 2022-09-17 14:45:35 UTC
(In reply to Patrick Silva from comment #3)
> Info panel of Dolphin 22.08.1 shows wrong size of contents. For example,
> when I hover over a folder containing 700 GiB, info panel says 'Size: 204
> KiB'.

humm, this only happens with ntfs file system.
for folders in my ext4 Home, info panel is still showing the amount of files inside them.