Skip to content

Fix properties window crash #706

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

Merged
merged 1 commit into from
Apr 26, 2020
Merged

Fix properties window crash #706

merged 1 commit into from
Apr 26, 2020

Conversation

tsvietOK
Copy link
Contributor

@tsvietOK tsvietOK commented Apr 26, 2020

Crash caused by MD5 hash algorithm calculation, it did not support large files.
Now file properties are shown before MD5 calculation. Added indeterminate progress bar.
Fixes #704

@yaira2
Copy link
Member

yaira2 commented Apr 26, 2020

@xpoppyx This pull request should address it.

@tsvietOK
Copy link
Contributor Author

@xpoppyx It working good with 8GB file, so with 24GB it should work too.

Copy link
Contributor

@lukeblevins lukeblevins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! We should have calculated the hash incrementally from the start to prevent issues like these.

@lukeblevins lukeblevins added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Apr 26, 2020
@yaira2 yaira2 merged commit 2ea170d into files-community:develop Apr 26, 2020
@tsvietOK tsvietOK deleted the properties-fix branch April 27, 2020 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants