https://bugs.kde.org/show_bug.cgi?id=440417

            Bug ID: 440417
           Summary: Really high CPU usage when many files are updated
           Product: dolphin
           Version: 21.04.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: kde.acco...@lemaitre.re
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY

When a folder with many files is opened within Dolphin and many files are
modified, Dolphin uses 100% of a CPU core for a very long time (forever?).
Dolphin is responding though.
The problem stops when the folder is left.

STEPS TO REPRODUCE

1. create a folder with a thousand empty files
2. open this folder with Dolphin
3. modify all the files with `touch *`

OBSERVED RESULT

Dolphin uses 100% CPU, and does not appear to stop (or maybe after a very long
time).

EXPECTED RESULT

CPU usage should rise only for a small amount of time, if at all.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: NixOS/21.11pre
KDE Plasma Version:  5.21.5
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.10.48

ADDITIONAL INFORMATION

I think that when multiple modification events reach Dolphin, it process every
single events, even when they are redundant.
If that is the case, a possible fix would be to ignore such events if there is
already a modification event in the event queue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to