| Summary: | Notification shown after an extraction should have a button to open the destination folder | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | Patrick Silva <bugseforuns> |
| Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ddascalescu+kde, kde, nate, rthomsen6 |
| Priority: | NOR | ||
| Version First Reported In: | 19.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/ark/commit/c254ee56be03f142bbe7f9c4f5e23d4a8d00f9b7 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | screenshot | ||
|
Description
Patrick Silva
2019-06-16 13:06:44 UTC
Can you attach a picture of the notification in question? Thanks! Created attachment 120928 [details]
screenshot
Thanks! Should probably set a destUrl property on the job or use setDescription to provide source and destination, then it will deduce that automatically. Also needs to setTotalAmount(foo, Bytes) for that to work Was just about to file the same wishlist. This button obviously should only be displayed if the "Open destination folder after extraction" checkbox was unchecked before the extraction. A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/29 Git commit 52b625081217dfe89713a918d892de1b30a517af by Kai Uwe Broulik. Committed on 26/02/2021 at 19:52. Pushed by broulik into branch 'master'. [Notifications] Offer "Open Containing Folder" whenever we have a destUrl The restriction on having an amount of files to be processed was to avoid showing whatever last file had been copied as destination. However, we already only fall back to using the "destination" label contents when there is a single file (cf. `NotificationManager::JobPrivate::destUrl()`), making it safe to assume destUrl is always a predicatble/useful location. M +4 -5 applets/notifications/package/contents/ui/JobItem.qml https://invent.kde.org/plasma/plasma-workspace/commit/52b625081217dfe89713a918d892de1b30a517af Git commit c254ee56be03f142bbe7f9c4f5e23d4a8d00f9b7 by Kai Uwe Broulik.
Committed on 03/03/2021 at 17:19.
Pushed by broulik into branch 'master'.
Add destUrl to jobs
Allows the job view server to know what is the actual destination
of a job and provide useful actions ("Open Containing Folder")
when the job is done.
M +2 -0 app/batchextract.cpp
M +2 -0 kerfuffle/jobs.cpp
https://invent.kde.org/utilities/ark/commit/c254ee56be03f142bbe7f9c4f5e23d4a8d00f9b7
|