Bug 431367 - File size counter whilst scan is running is not reset on rescan
Summary: File size counter whilst scan is running is not reset on rescan
Status: RESOLVED DUPLICATE of bug 439596
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-09 20:12 UTC by Stephan Brunner
Modified: 2021-09-11 11:44 UTC (History)
2 users (show)

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


Attachments
Video (295.03 KB, video/mp4)
2021-01-15 01:00 UTC, Justin Zobel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Brunner 2021-01-09 20:12:16 UTC
FILELIGHT VERSION: 20.12.1 (I couldn't select it in the list above.

SUMMARY
When scanning a directory, there is a animated pie chart with a file count and file size counter.
When hitting rescan, said file size counter is not reset to zero, hence making it count beyond the actual file system size.
The final counter in the final pie chart always shows a correct size.

STEPS TO REPRODUCE
0. Open fresh instance of Filelight
1. Scan a directory. Observe that the file size counter whilst scanning starts from zero
2. Hit rescan
3. Observe that the file size counter whilst scanning does not start from zero

OBSERVED RESULT
Counter is not reset to zero when hitting rescan.

EXPECTED RESULT
Counter should start from zero.

SOFTWARE/OS VERSIONS
Latest Archlinux as of 2021-01-09
Linux/KDE Plasma: Kernel 5.10.5-arch1-1
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Justin Zobel 2021-01-15 01:00:15 UTC
Created attachment 134870 [details]
Video

I can't seem to reproduce this. I tried on several sized folders and the count is always blanked out and then redrawn once the count is complete.

Video attached.
Comment 2 Stephan Brunner 2021-01-15 08:57:25 UTC
Actually, you reproduced it.

The selected folder is ~11GB large.
However, when rescanning, your counter in the video  starts at ~105GB.
Stop at 0:06 while the rescan is running.
Comment 3 Jan Paul Batrina 2021-09-11 11:44:44 UTC

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