Bug 435125 - Total file size accumulates when refreshing
Summary: Total file size accumulates when refreshing
Status: RESOLVED DUPLICATE of bug 439596
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-29 18:02 UTC by Kyle Coffey
Modified: 2021-09-11 11:42 UTC (History)
4 users (show)

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


Attachments
refresh screen - total size miscalculated (21.64 KB, image/png)
2021-05-16 18:19 UTC, hancerli
Details
main screen - total size shown properly (63.67 KB, image/png)
2021-05-16 18:19 UTC, hancerli
Details

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