-
Notifications
You must be signed in to change notification settings - Fork 162
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
Added option to stop and resume download #732
base: main
Are you sure you want to change the base?
Added option to stop and resume download #732
Conversation
I feel like "pause" might be better wording for this case. Also, it should probably replace the "Cancel" button. Clicking on "Pause" would change the "Pause" button to "Cancel" and have "Resume" button to appear on the right side. |
0cb8b13
to
e9202a5
Compare
e9202a5
to
111c84a
Compare
@grulja Rebased after |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't rebase properly and this change includes one of my changes I pushed recently.
I'm still unsure how to integrate this functionality UI/UX wise. Maybe what I suggested is not the best approach.
Hi, @allanday, I know you are quite busy, but would you be able to suggest a way how to best integrate this functionality?
Possible options are:
- As I suggested before, replace "Cancel" button with "Pause" when downloading, which will pause it and change the button to "Cancel" once paused. It will also make "Resume" button to appear on the right side.
- Keep "Cancel" button, but add a new option into the cancel dialog allowing you not to only cancel the whole process, but only pause it.
- Keep it as it is UI-wise, but once user confirms cancellation in the cancel dialog, do not return to the main page, but keep it on the same downloading page and make "Resume" or "Retry" button available to restart the process.
@@ -137,6 +137,14 @@ void DownloadManager::cancel() | |||
} | |||
} | |||
|
|||
void DownloadManager::stopDownload() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This basically duplicates DownloadManager::cancel()
Closes #716