Bug 398158

Summary: Create progress when emptying trash
Product: [Frameworks and Libraries] frameworks-kio Reporter: Sefa Eyeoglu <contact>
Component: TrashAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, giecrilj, i, kdelibs-bugs-null, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.49.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: ping-pong "progress" bar

Description Sefa Eyeoglu 2018-09-02 13:48:56 UTC
When there are many files, that need to be deleted, it may take some minutes to finish. KIO should display progress information in the system-tray applet when emptying the trash, similar to when copying/moving files.
Comment 1 Nate Graham 2018-09-28 18:44:31 UTC
*** Bug 285540 has been marked as a duplicate of this bug. ***
Comment 2 Patrick Silva 2019-10-28 16:52:59 UTC
Created attachment 123542 [details]
ping-pong "progress" bar

This issue persists. Currently plasma shows a notification with a ping-pong "progress" bar while emptying trash.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.3.7-arch1-1-ARCH
Comment 3 Nate Graham 2019-10-28 16:58:52 UTC
Actually this would seem to resolve the issue, no? I don't remember there being a notification at all at some point in the past. Or is the remaining complaint that it should be a steadily-increasing progress bar rather than an indeterminate one?
Comment 4 Patrick Silva 2019-10-28 17:34:51 UTC
Ignore my previous comment please.
The ping-pong progress bar appears while Dolphin restores files from Trash,
not while it empties the Trash.  I will open another bug for such issue. A ping-pong "progress"
bar gives no real info about the progress of the operation.
Sorry for noise.
Comment 5 Sefa Eyeoglu 2019-10-28 19:04:56 UTC
I think a ping pong animation would be better than having nothing like right now. But it should actually show the progress of emptying trash as it is quite predictable.
Comment 6 Patrick Silva 2019-10-28 20:15:49 UTC
Sorry, my screenshot is not related to this issue. Furthermore, obviously while Dolphin restores files from Trash the notification says "Moving", not "Deleting" as we can see in my screenshot.

My screenshot shows the progress bar that sometimes appears when I delete permanently (shift+del) a folder containing many files and sub-folders (a folder containing the source code of kwin with 1,435 files and 268 sub-folders, for example). Such notification is inconsistent because it never appears when I delete permanently thousands of jpg files or a single big (6.7 GiB) file, for example. This annoying inconsistency was already reported as bug 391590.

Still no progress when emptying Trash. :(