Bug 435125

Summary: Total file size accumulates when refreshing
Product: [Applications] filelight Reporter: Kyle Coffey <kylecoffey1999>
Component: generalAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bhancerli, jpmbatrina01, kylecoffey1999, nazark
Priority: NOR    
Version: 20.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: refresh screen - total size miscalculated
main screen - total size shown properly

Description Kyle Coffey 2021-03-29 18:02:44 UTC
When refreshing Filelight, the number tracking the total size of everything on disk accumulates from the previous refresh instead of starting again from 0.

STEPS TO REPRODUCE
1. Open Filelight and scan /.
2. Refresh a couple of times.

The total file size will increase with each refresh


Expected: The total file size should stay the same with each refresh, unless the contents of the disk have changed.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Kyle Coffey 2021-03-29 18:04:21 UTC
(In reply to Kyle Coffey from comment #0)
> When refreshing Filelight, the number tracking the total size of everything
> on disk accumulates from the previous refresh instead of starting again from
> 0.
> 
> STEPS TO REPRODUCE
> 1. Open Filelight and scan /.
> 2. Refresh a couple of times.
> 
> The total file size will increase with each refresh
> 
> 
> Expected: The total file size should stay the same with each refresh, unless
> the contents of the disk have changed.
> 
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 
> KDE Frameworks Version: 
> Qt Version: 
> 
> ADDITIONAL INFORMATION

Replying with more information.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (rolling), Plasma 5.21.3
KDE Frameworks: 5.80.0
Qt Version: 5.15.2
Comment 2 hancerli 2021-05-16 18:19:23 UTC
Created attachment 138487 [details]
refresh screen - total size miscalculated
Comment 3 hancerli 2021-05-16 18:19:44 UTC
Created attachment 138488 [details]
main screen - total size shown properly
Comment 4 hancerli 2021-05-16 18:22:04 UTC
I believe this one is still valid.

The total size increases only in the "refreshing" period. However, the size information is shown correctly after the operation is done.

Is this the behavior you observe?
Comment 5 Kyle Coffey 2021-05-22 02:04:28 UTC
(In reply to hancerli from comment #4)
> I believe this one is still valid.
> 
> The total size increases only in the "refreshing" period. However, the size
> information is shown correctly after the operation is done.
> 
> Is this the behavior you observe?

Exactly!
Comment 6 Nazar Kalinowski 2021-05-26 13:57:49 UTC
Can reproduce in version "21.04.1-1", but not in manually built from source filelight using kdesrc-build (which seem to be of version "21.07.70"), so I guess it has been fixed.
Comment 7 hancerli 2021-05-26 16:17:36 UTC
then should it be closed?
Comment 8 Jan Paul Batrina 2021-09-11 11:42:07 UTC

*** This bug has been marked as a duplicate of bug 439596 ***