SUMMARY with the new notifications system of plasma 5.16, the notification shown by Ark after an extraction have no button to open the destination folder. STEPS TO REPRODUCE 1. start plasma 5.16 2. extract a big compressed file with Ark 3. OBSERVED RESULT when the extraction is completed, plasma shows a notification without a button to open the destination folder. EXPECTED RESULT The notification should have a button to open the destination folder SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.16.80 KDE Frameworks Version: 5.60.0 Qt Version: 5.12.3
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