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

[WebUI] incorrect progress display of directories containing 0-byte files #19354

Open
kambala-decapitator opened this issue Jul 22, 2023 · 3 comments · May be fixed by #20567
Open

[WebUI] incorrect progress display of directories containing 0-byte files #19354

kambala-decapitator opened this issue Jul 22, 2023 · 3 comments · May be fixed by #20567
Labels
Confirmed bug An issue confirmed by project team to be considered as a bug GUI GUI-related issues/changes WebUI WebUI-related issues/changes

Comments

@kambala-decapitator
Copy link

kambala-decapitator commented Jul 22, 2023

qBittorrent & operating system versions

qBittorrent: NOX 4.5.4+0-0+1.1 amd64
Operating system: Debian 11
Qt: 5.15.2
libtorrent-rasterbar: 2.0.9.0

What is the problem?

directory hierarchy containing 0-byte files shows 0% progress in the Content tab. Observing this in the WebUI, dunno about desktop GUI.

Steps to reproduce

  1. get a torrent containing 0 bytes files
  2. download it
  3. observe the reported issue

Additional context

Torrent where I noticed this: torrent.zip

How it looks in WebUI (0-byte files are in the bottom):

Screenshot 2023-07-22 at 14 36 57

Log(s) & preferences file(s)

No response

@luzpaz
Copy link
Contributor

luzpaz commented Jul 22, 2023

Please test on latest stable 4.5.4

@thalieht thalieht added Confirmed bug An issue confirmed by project team to be considered as a bug WebUI WebUI-related issues/changes GUI GUI-related issues/changes labels Jul 22, 2023
@kambala-decapitator
Copy link
Author

Please test on latest stable 4.5.4

same thing in 4.5.4

vikasc28 added a commit to vikasc28/qBittorrent that referenced this issue Mar 17, 2024
This commit fixes the download progress calculation for folders with zero size.
Previously, the progress would be Zero. Now, folders with zero size
show 100% progress.

Closes qbittorrent#19354
@vikasc28
Copy link

Issue occurs with Desktop Gui as well:

Zerobyte_FolderIssue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed bug An issue confirmed by project team to be considered as a bug GUI GUI-related issues/changes WebUI WebUI-related issues/changes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants