lbryio / lbryio/lbry-desktop

Failed downloads stuck in "connecting" state if you navigate away/back

Open
#1,837 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ux area: viewer priority: low type: bug
Dominant language
JavaScript
Stars
3.5k
Forks
409
PR merge metrics
No merged PRs in 30d

Description

The Issue

We recently made some improvements to download failure notifications (https://github.com/lbryio/lbry-desktop/pull/1768) but looks like we are running into a bug in the below scenario. You can still click "View" but it doesn't have the right color/mouseover.

  1. Click play on lbry://oldmovie
  2. Navigate away, wait 5 minutes
  3. Go back to lbry://oldmovie
  4. Notice the app shows connecting and the play button is greyed out.

The status should reset. If we want to be really creative, we should show some text on the file page that it failed to download previously, and to try again later.

image

System Configuration

  • LBRY Daemon version:
  • LBRY App version:
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. First reproduce the four-step scenario: start the oldmovie download, navigate away for five minutes, return, and confirm the connecting state and greyed-out play button. Done means the failed download status resets when returning to the file page; the suggested retry text is optional.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.