Bug 433198

Summary: Dolphin freezes for a minute when deleting emptied folder
Product: [Applications] dolphin Reporter: Ilya Bizyaev <bizyaev>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: elvis.angelaccio, kfm-devel
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ilya Bizyaev 2021-02-18 19:49:23 UTC
SUMMARY
This is better explained in steps:

STEPS TO REPRODUCE
1. Open Dolphin
2. Go to a folder with many small files (e.g. 50 screenshots)
3. Select all fiels and move them e.g. to the parent folder (Ctrl-A, Ctrl-X, Backspace, Ctrl-V)
4. Trash the folder that is now empty (Delete)

OBSERVED RESULT
Dolphin freezes for a minute. So does Latte. So does Firefox if it attempts to send a notification.
Then they all unfreeze, and a job notification is displayed: "Dolphin", indeterminate progress bar. Will only disappear when manually stopped, as no operations are actually happening.

EXPECTED RESULT
The empty folder is deleted without an adventure :D


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Elvis Angelaccio 2021-03-21 17:18:33 UTC
Can you try to get a stacktrace while it is freezing?
Comment 2 Bug Janitor Service 2021-04-05 04:33:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Ilya Bizyaev 2021-04-08 13:43:43 UTC
I am no longer able to reproduce this issue with the latest KF5 ¯\_(ツ)_/¯