Bug 396744

Summary: Notification title to use the destination file name
Product: [Plasma] plasmashell Reporter: Karthik Periagaram <karthik.periagaram>
Component: NotificationsAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: minor CC: nate, plasma-bugs
Priority: NOR    
Version: 5.13.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.14.0

Description Karthik Periagaram 2018-07-22 00:42:01 UTC
When downloading a file from source: http://website.com/foo and saving it to destination: file:///path/to/bar, the notification shown is titled after the original file name ("foo", in this case). It should instead use the destination file name as that's what the user relates to.
Comment 1 Kai Uwe Broulik 2018-08-17 09:41:37 UTC
Git commit 499d145e1a36fa0e08ba9013c41805483c22da83 by Kai Uwe Broulik, on behalf of Karthik Periagaram.
Committed on 17/08/2018 at 09:40.
Pushed by broulik into branch 'master'.

Label job notifications with destination file name

If a destination file name is present, it is a better label for a job
than the source file name. This is particularly true for web downloads
where the source file name may be a gibberish base64 string while the
destination file name would be selected by the user.

If there is no destination file name, we fall back to using the source
file name.

Differential Revision: https://phabricator.kde.org/D14857

M  +2    -1    applets/notifications/package/contents/ui/JobDelegate.qml

https://commits.kde.org/plasma-workspace/499d145e1a36fa0e08ba9013c41805483c22da83