Bug 488540

Summary: Emptying trash has no feedback and can be runned twice by accident causing error
Product: [Applications] dolphin Reporter: dmatteo002
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: colin.thomson, dmatteo002, felixernst, kfm-devel
Priority: NOR Keywords: qt6, usability
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: error thrown if more if run more than once (extreme case) [they seem to me modal one to another]

Description dmatteo002 2024-06-15 15:33:36 UTC
Created attachment 170531 [details]
error thrown if more if run more than once (extreme case) [they seem to me modal one to another]

SUMMARY
Emptying trash has no progress bar or way to tell that is working so it is possible to run more than once thinking it didn't start and then having it fail the second empty trash.

STEPS TO REPRODUCE
1. Put some file in the trashcan (the more file are present the more time will take to empty the trashcan and so the easier it is to run the trash cleaning twice 
2. Click on empty trashcan and then click again

OBSERVED RESULT
The first clear work but the second crash because it doesn't file the file to delete.

EXPECTED RESULT
The program should not run another trash cleaner, or should not failed or should show the progress of trash cleaning in some way.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.8.0
Kernel Version: 6.9.4-arch1-1 (64-bit)
Graphics Platform: Wayland