WirelessAlien / ZipXtract

A fully open source app to extract rar, zip, tar, bz2, gz, 7z, xz, jar and z etc (encrypted .zip & .7z supported)
GNU General Public License v3.0
355 stars 15 forks source link

[BUG] App is not responding during ~65mb / ~7k files tar file extraction #27

Closed EleanorRigby76 closed 6 months ago

EleanorRigby76 commented 7 months ago

Describe the bug When extracting NumPy's tar archive from pypi.org (~65mb archive with ~7k files) I encountered the app constantly erroring with Android's not responding pop-up. The extraction succeeded however the app's UI was unresponsive during extraction thus Android decided to constantly prompt me to either kill the app or wait, choosing wait allowed the extraction to continue.

To Reproduce Steps to reproduce the behaviour:

  1. Attempt to extract a tar archive with a large amount of small files.
  2. Witness Android panic due to the app's UI not being responsive.
  3. Sit through countless app is not responding pop-ups having to click wait on every single one.

Expected behaviour The app's UI should be responsive, or at least not trigger Android's built-in app not responding prompt.

Screenshots IMG_20240211_124649 IMG_20240211_125403 IMG_20240211_125344

Smartphone (please complete the following information):

Additional context From my limited understanding of Android app development this shouldn't happen if the extraction function is called asynchronously so that the UI is able to update even while the extraction is running. Kotlin docs on asynchronous programming are here.

WirelessAlien commented 7 months ago

I released a new version (just updated the code to do the job in background), let me know it is fixed or not. I will not close the issue now.