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

Added option to stop and resume download #732

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gastoner
Copy link
Collaborator

Closes #716

@gastoner gastoner requested a review from grulja September 22, 2024 09:16
@grulja
Copy link
Collaborator

grulja commented Sep 23, 2024

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.

@gastoner gastoner force-pushed the allow_pausing_iso_automatic_download branch from 0cb8b13 to e9202a5 Compare September 23, 2024 17:16
@gastoner gastoner force-pushed the allow_pausing_iso_automatic_download branch from e9202a5 to 111c84a Compare October 2, 2024 18:15
@gastoner
Copy link
Collaborator Author

gastoner commented Oct 2, 2024

@grulja Rebased after cleanup

Copy link
Collaborator

@grulja grulja left a 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:

  1. 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.
  2. 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.
  3. 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()
Copy link
Collaborator

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()

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

Successfully merging this pull request may close these issues.

Allow pausing .ISO automatic download.
2 participants