Bug 455957

Summary: Improve failed download notification
Product: [Plasma] plasma-browser-integration Reporter: Martino Fontana <tinozzo123>
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Martino Fontana 2022-06-26 15:02:23 UTC
SUMMARY

When a Firefox download fails, plasma-browser-integration sends a notification that has two problems:
1. The notification is persistent: it never goes away, even if you retry the download. This means if the download fails again, you'll have multiple notifications for the same failed download.
2. The notification should offer the option to retry the download, instead of having to do it by manually returning to Firefox.


STEPS TO REPRODUCE
Simply have a download fail. An easy way to simulate this is:
1. Create a useless folder;
2. Download a file in that folder;
3. Delete the folder before the download finishes;
4. You'll get an error after the download finishes.


SOFTWARE/OS VERSIONS
Linux: NixOS 21.11
(available in About System)
KDE Plasma Version: 5.25.0
KDE Frameworks Version:  5.95.0
Qt Version: 5.15.3