Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress event #55

Open
jorensanbar opened this issue Oct 31, 2021 · 5 comments
Open

Progress event #55

jorensanbar opened this issue Oct 31, 2021 · 5 comments

Comments

@jorensanbar
Copy link

I already tried, and I can unzip LZMA2 files without problem. But how can I have a Progress?

@runemoennike
Copy link

We currently use the getOutputPath callback to show some sort of progress, but since actual exctraction happens after these callbacks, it's not very accurate.

@adoconnection do you know of a way to get progress from the underlying .dll? Then I'd be happy to implement it in here.

@adoconnection
Copy link
Owner

@runemoennike Hi! Unfortunately I dont know

runemoennike pushed a commit to runemoennike/SevenZipExtractor that referenced this issue Aug 23, 2022
…ests failing for everything but 7zip format.
@runemoennike
Copy link

@adoconnection @jorensanbar I've given it a shot here, where I've added optional callbacks to Extract() on Entry and ArchiveFile. However, my new unit tests are currently failing for everything but the 7zip format :( It seems the SetCompleted and SetTotal on IArchiveExtractCallback are not called consistently across formats.

runemoennike pushed a commit to runemoennike/SevenZipExtractor that referenced this issue Aug 24, 2022
@runemoennike
Copy link

@adoconnection I managed to standardize so the callback is invoked at least at the beginning and end of each extracted file, so I've created this PR: #60

@Paulem79
Copy link

Hello, so how to create a progress bar now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants