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 bar in webui is blue instead of white when torrent at 0% #115

Open
Elcoid opened this issue Jun 21, 2024 · 0 comments
Open

Progress bar in webui is blue instead of white when torrent at 0% #115

Elcoid opened this issue Jun 21, 2024 · 0 comments

Comments

@Elcoid
Copy link
Contributor

Elcoid commented Jun 21, 2024

info

git revision / version: v0.4.6, commit 7775d97
OS: OpenBSD 7.4
Architecture: amd64

problem

Expected behaviour: When a torrent is being downloaded, the associated progress bar in the webui starts white and fills with blue, until it is completely filled, indicating that the torrent is downloaded.

Observations: This is not true when the progress is exactly 0%. In this case, the bar starts completely blue. Only when the progress increases above 0% does the expected behaviour occur.

further observations

What I found so far is that the bars behaving correctly have a value attribute in their progress tag. For example:

<progress data-bind="value: $data.Progress" max="100" value="100"></progress>

Those with a progress of 0% have no value, which seems to render the bar filled by default. For example:

<progress data-bind="value: $data.Progress" max="100"></progress>

I didn't find why this is happening.

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

No branches or pull requests

1 participant