mherrmann / mherrmann/fman

Deletion of multiple files is slow

Open
#615 6 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

7 votes enhancement
Dominant language
Python
Stars
275
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I regulary need to delete lots of files inside a folder without actually deleting the folder.
This operation is much slower for both permanent deletion & move to recycle bin as compared to OS native functionality.

For example, select all files in a folder with 60 empty .txt files and delete them.
Using fman, this takes around 2.5 seconds, using native windows explorer it happens instantly.

My best guess is that this happens because it re-renders between each individual file deletion.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. First reproduce the comparison with 60 empty .txt files, then trace the deletion path and check whether the UI re-renders after each file. Done means deleting multiple files, both permanently and to the recycle bin, is substantially faster without deleting the containing folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.