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-n...@kde.org
          Reporter: r...@rpc-scandinavia.dk
                CC: kfm-de...@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 watching all bug changes.

Reply via email to