dua-cli icon indicating copy to clipboard operation
dua-cli copied to clipboard

Can't delete things while scanning

Open joepio opened this issue 11 months ago • 0 comments

Hi there! Cool tool :)

I upen dua i, mark some files using space and want to delete them with ctrl+r.

But, I suppose because the tool is still scanning, I get a Traversal already running notice in the bottom.

I'm not quite sure what the problem is here, but here are some suggestions:

  • When user tries to delete, pause the scan and prioritize the delete action. If that's hard, cancel the scan and restart after delete.
  • Don't scan (sub)directories where the user isn't in.
  • Cache the scan outputs somewhere, so the next time I open dua the scan is already done, for the most part.

joepio avatar Jan 15 '25 11:01 joepio

Thanks for the report, I have to admit to not testing beyond 2. If you expand the the section (tab to highlight the graphics section and "e" to expand the section) does it show all of the GPUs?

bvaisvil avatar Dec 09 '24 17:12 bvaisvil

Yup, pressing "e" a few times expands and shows the correct full list (and pressing more times reveals empty rows).

vincentqb avatar Dec 09 '24 22:12 vincentqb