Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Overflow of cumulative filesize for big collection #8

Closed
Cabu opened this issue Jan 19, 2016 · 1 comment
Closed

Overflow of cumulative filesize for big collection #8

Cabu opened this issue Jan 19, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@Cabu
Copy link

Cabu commented Jan 19, 2016

Here is the status line I got when i compressed my photo library:

Compression completed! 3046 files compressed in 32:26 minutes, from -1714434741 bytes to -2085356967 bytes. Saved 353.74 Mb (-21.6%)

Folder original disk size: 19 772 162 431 bytes with 5 283 Files in 159 Folders
Folder recompressed disk size: 19 408 586 881 bytes

@Lymphatus Lymphatus added the bug label Jan 19, 2016
@Lymphatus Lymphatus added this to the beta milestone Jan 19, 2016
@Lymphatus Lymphatus self-assigned this Jan 19, 2016
@Lymphatus
Copy link
Owner

Issue in the function converting the number of bytes to a human readable size:

File: utils.h

QString toHumanSize(int);

Your value is way over the int32 biggest integer, causing overflow.
Also, the function does not support formatting Gigabytes' order file sizes.

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

No branches or pull requests

2 participants