compact any file, extract the just created file to the same folder, file conflict dialog appears, click "cancel". Ark shows notification about finished extraction. I think "canceled" is more appropriate in this situation.
The "Finished" string comes from Plasma. The applet should probably check whether the KJob finished with an error.
It does. https://cgit.kde.org/plasma-workspace.git/tree/applets/notifications/package/contents/ui/Jobs.qml#n63
Elvis, can you check if Ark does indicate the error state in KJob correctly?
You are right, the KJob is not setting the error, moving back to ark. Sorry for the noise.
This isn't noise, it's ping-pong.
Git commit 92fe1c13bf506225e48914fa3517d7fd45ea9702 by Elvis Angelaccio. Committed on 25/02/2018 at 12:24. Pushed by elvisangelaccio into branch 'Applications/17.12'. Mark canceled extractions as killed jobs If the user canceled an OverwriteQuery dialog, we should not claim the extraction finished. By emitting the canceled() signal, the extraction jobs will set the KilledJobError error and the plasma applet will not show the "Finished" string in the notification. FIXED-IN: 17.12.3 Task: T6707 M +2 -0 kerfuffle/cliinterface.cpp M +2 -0 kerfuffle/jobs.cpp M +1 -0 plugins/libarchive/libarchiveplugin.cpp M +1 -0 plugins/libzipplugin/libzipplugin.cpp https://commits.kde.org/ark/92fe1c13bf506225e48914fa3517d7fd45ea9702