[dolphin] [Bug 481702] New: Slow and high CPU when folder contain big ".desktop" file(s)
René Paw Christensen
bugzilla_noreply at kde.org
Thu Feb 22 22:52:56 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=481702
Bug ID: 481702
Summary: Slow and high CPU when folder contain big ".desktop"
file(s)
Classification: Applications
Product: dolphin
Version: unspecified
Platform: Neon
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: view-engine: general
Assignee: dolphin-bugs-null at kde.org
Reporter: rpc at rpc-scandinavia.dk
CC: kfm-devel at kde.org
Target Milestone: ---
SUMMARY
Dolphin tries to process ".desktop" file, even when it is not a text file, and
when it is big.
This results in a unresponsive window.
The solution is to set a size limit, on how big ".desktop" files Dolphin should
process.
STEPS TO REPRODUCE
1. Create a folder and copy a big file to it (150 MB)
2. Rename the file to ".desktop" or ".Desktop" extension
3. Browse the folder in Dolphin
OBSERVED RESULT
The window does not respond, the CPU goes high.
I expect that Dolphin tries to process the big file, because it thinks it is a
text ".desktop" file.
EXPECTED RESULT
Dolphin ignorees (do not process) big ".desktop" files, perhaps > 1 MB.
SOFTWARE/OS VERSIONS
Dolphin: 24.02.0
Linux/KDE Plasma: 6.0.0
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
ADDITIONAL INFORMATION
Nothing.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list