[dolphin] [Bug 434125] New: High CPU usage with "size of contents" option for /proc folder

Evgen bugzilla_noreply at kde.org
Sun Mar 7 23:11:18 GMT 2021


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

            Bug ID: 434125
           Summary: High CPU usage with "size of contents" option for
                    /proc folder
           Product: dolphin
           Version: 20.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: view-engine: details mode
          Assignee: dolphin-bugs-null at kde.org
          Reporter: altsyde at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
I had high CPU usage while "Dolphin" window was opened. Later I figured out
that problem was with "size of contents" option which I manually turned on. And
specifically with symlink "z:" which point to "/" in "$HOME/.wine/dosdevices/"
folder. That symlink Wine creates by default during configuration.

STEPS TO REPRODUCE
1. Settings > Configure Dolphin > View Modes > Details. For "Folder size
displays" select "Size of contents, up to 4 levels deep"
2. F4 to open terminal
3. Create symlink to "/proc" with command and "ln -s /proc test_size"


OBSERVED RESULT
Dolphin start eating up to 48% of CPU and at some point will show some strange
value like "21,6 PiB"

EXPECTED RESULT
Probably Dolphin shouldn't inspect symlinks and /proc directory

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon User Edition
KDE Plasma Version: 5.21
KDE Frameworks Version: 5.79
Qt Version: 5.15.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list