qarmin / czkawka

Multi functional app to find duplicates, empty folders, similar images etc.
Other
19.61k stars 641 forks source link

GUI(+CLI) Entire UI freezes during long opperation (e.g. delete). #1192

Open fromSmolsoft opened 8 months ago

fromSmolsoft commented 8 months ago

Bug Description Entire UI layer freezes when intensive operations like delete thousands of dupes is initiated despite CPU / RAM / drive are not fully used. On Windows it goes into full foggy screen mode on top of mentioned and covers even panel with launcher icons.

Steps to reproduce:

  1. scan data worth of 10-100 thousand files and 20 to 100 GB
  2. pick few thousands of dupes and press delete or move
  3. watch entire app (UI) to freeze for undefined period while CPU / RAM / Drive usage is bellow 30 % OS usage included.

IMHO it looks as if UI and background processes run on same thread, so the UI hangs.
Interestingly when search is initiated, little alert dialog with progress bars doesn't freeze,

System Basic specs of machines:

Czkawka behaves exactly the same on each device.

AndroYD84 commented 3 months ago

Having the same problem. The GUI has been stuck like this for 3 days while doing a mass symlink operation. It takes about 3 days to complete a scan (with cached hashes), so without a import feature as suggested here https://github.com/qarmin/czkawka/issues/1295 there's no way to recover from failure and we lose all progress, it's like walking on egg shells this is incredibly frustrating. czkawkafreeze01