[Bug] Connection progress bars remain incomplete after all connections are completed
Description
In the task details Statistics view, all download connections can already be marked as completed, but the progress bar of some individual connections remains visually stuck at an incomplete position.
For example, in one completed task:
- Connections: 4
- Downloading: 0
- Completed: 4
- Failed: 0
However, although all four connections are shown as completed, the progress bars for some connections (for example #2 and #4) are still only partially filled instead of showing 100%.
Expected behavior
Once a connection is marked as completed, its progress bar should also immediately show 100%.
If all connections are completed, every connection progress bar in the Statistics view should be fully filled and consistent with the connection status.
Actual behavior
The status counter correctly reports all connections as completed, but one or more individual connection progress bars remain stuck at an earlier percentage.
This appears to be a UI/progress-state synchronization issue rather than an actual download failure.
Steps to reproduce
- Start a normal HTTP/HTTPS download using multiple connections.
- Wait until the download finishes.
- Open Task Details → Statistics.
- Observe that all connections may show as completed while some individual connection progress bars remain incomplete.
Environment
- Gopeed: 2.0.0-beta.2
- Platform: Windows
Thanks for the great project.
Source: GopeedLab/gopeed