Bug 454577 - Dolphin gets stuck in the memory and causes high cpu usage when closed immediately after undoing mass renaming
Summary: Dolphin gets stuck in the memory and causes high cpu usage when closed immedi...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-29 14:38 UTC by Patrick Silva
Modified: 2023-05-10 18:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-05-29 14:38:27 UTC
SUMMARY
I can't reproduce this bug consistently, but it occurs often after the steps below.

STEPS TO REPRODUCE
1. have a folder containing many files - I can reproduce with a folder containing 2036 jpg files
2. select all files in your folder, right-click on any selected file, choose 'Rename...'
3. type a new name and press enter
4. when mass renaming is completed, undo it by pressing ctrl+z
5. when mass renaming is undone, Plasma shows a notification saying 'Moving (Finished)'.
Close Dolphin while this notification is visible.

OBSERVED RESULT
Dolphin gets stuck in the memory for several minutes - from 3 up to 8 minutes in my tests - and causes high cpu usage - ~25% on my system - until it finally exits.

EXPECTED RESULT
Dolphin process should exit immediately when Dolphin is closed

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-05-10 18:31:18 UTC
Cannot reproduce with Dolphin 23.04.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland