Bug 469753 - High cpu usage and bad performance while many files are moved in Dolphin
Summary: High cpu usage and bad performance while many files are moved in Dolphin
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (show other bugs)
Version: 5.27.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 469532 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-05-14 16:34 UTC by Patrick Silva
Modified: 2024-11-14 21:41 UTC (History)
5 users (show)

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


Attachments
screenshot (184.41 KB, image/png)
2023-05-14 16:34 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-05-14 16:34:44 UTC
Created attachment 158943 [details]
screenshot

SUMMARY
I can't reproduce this issue consistently, but it occurs often after the following steps.

STEPS TO REPRODUCE
1. with Dolphin, create a new folder and open it
2. press F4 to open the Terminal panel and create 10,000 files by running the following command:
$ for i in {1..10000}; do touch $i; done
3. create a subfolder
4. move hundreds or thousands of those 10,000 files to this subfolder (with keyboard shortcuts or drag-and-drop)

OBSERVED RESULT
plasmashell process causes high cpu usage while the files are moved, and Plasma is slow until the cpu usage decreases to the normal level. Please se the attached screenshot showing the high cpu usage.

EXPECTED RESULT
plasmashell process with normal cpu usage and performance while the files are moved

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-05-15 18:04:29 UTC
Well with Dolphin with Qt6, I can consistently crash Dolphin by dragging all of them. :/ But I can't reproduce ay slowness in plasmashell when I drag like a thousand of them.
Comment 2 Nate Graham 2023-08-04 20:22:18 UTC
*** Bug 469532 has been marked as a duplicate of this bug. ***