Bug 510117 - No progress visualization when rescanning and UI
Summary: No progress visualization when rescanning and UI
Status: CONFIRMED
Alias: None
Product: filelight
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-01 09:38 UTC by daniel
Modified: 2025-10-25 23:04 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 daniel 2025-10-01 09:38:57 UTC
SUMMARY

There is no visual feedback when rescanning that anything is happening.

STEPS TO REPRODUCE
1. Scan a large directory or whole disk
2. Right click on a folder in the diagram (not a top level one) and select "Rescan"

OBSERVED RESULT

Rescan does seem to happen, but while it is happening there is no progress indication and the whole UI freezes.

EXPECTED RESULT

UI should not freeze and/or there should be clear progress indication.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Comment 1 Harald Sitter 2025-10-25 23:04:04 UTC
The problem here is that to rescan part of the tree we invalidate that part of the tree, to do that we first replicate the entire tree minus the part we want to scan. This currently happens on the gui thread, hence the lockup. The challenge is that this stage is not considered as part of the scan, so it's also not covered by the busy indication, hence no visual feedback.

All that said, it appears to me the rescan behaves incorrectly. It doesn't seem to scan the dropped section at all 😅