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
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 😅