Progress bar race condition #137

Open
opened 2026-01-28 05:22:03 +00:00 by melithine · 0 comments
Collaborator

There seems to be a race condition around the display of the progress bar once OFDL starts actually downloading the videos. As best as I can determine, the progress bar is only updating at certain intervals. If the last few videos of the download occur very quickly, the bar doesn't have enough time to update before OFDL moves on to the next step. This can result in a scenario where the progress bar shows 20% while OFDL moves on to the next step (next scrape type, displaying the menu, etc.). This is a cosmetic issue, but it does confuse some users who think that it actually failed to download the "remaining" videos.

Example below. It tried to scrape 26 media, the progress bar shows 96% done, but you can also see it reporting 26 messages already downloaded right after that. And then 5 media, 20% progress, and 5 paid messages already downloaded.

There seems to be a race condition around the display of the progress bar once OFDL starts actually downloading the videos. As best as I can determine, the progress bar is only updating at certain intervals. If the last few videos of the download occur very quickly, the bar doesn't have enough time to update before OFDL moves on to the next step. This can result in a scenario where the progress bar shows 20% while OFDL moves on to the next step (next scrape type, displaying the menu, etc.). This is a cosmetic issue, but it does confuse some users who think that it actually failed to download the "remaining" videos. Example below. It tried to scrape 26 media, the progress bar shows 96% done, but you can also see it reporting 26 messages already downloaded right after that. And then 5 media, 20% progress, and 5 paid messages already downloaded.
melithine added the
bug
label 2026-01-28 05:22:03 +00:00
whimsical-c4lic0 added this to the Development Board project 2026-02-19 18:48:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sim0n00ps/OF-DL#137
No description provided.