| Summary: | New notification not created when a failed download is resumed | ||
|---|---|---|---|
| Product: | [Plasma] plasma-browser-integration | Reporter: | Sipho Mateke <siphomateke> |
| Component: | Chrome | Assignee: | Kai Uwe Broulik <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/plasma-browser-integration/2b15d99afd539323481efdeeebd915493a0b9d40 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Sipho Mateke
2018-11-14 16:44:09 UTC
I assume we don't get a download created event then but instead have a change in the state of an existing download which we might not be monitoring or processing correctly. (Actually I have never managed to resume an aborted download in Chrome..) Git commit 2b15d99afd539323481efdeeebd915493a0b9d40 by Kai Uwe Broulik. Committed on 15/11/2018 at 18:46. Pushed by broulik into branch 'master'. Recreate interrupted download when it is resumed When a download is canceled, finishes, or is interrupted (e.g. loss of network connection) we finish the KJob to remove it from notification area. However, when a job was interrupted and is then resumed, the download ID is reused by the browser and we only get sent updates for a job we no longer have. When we get a change event from interrupted to in_progress just pretend a new download was created and carry on as normal. Differential Revision: https://phabricator.kde.org/D16888 M +15 -0 extension/extension.js https://commits.kde.org/plasma-browser-integration/2b15d99afd539323481efdeeebd915493a0b9d40 |