Bug 459042

Summary: A malconfigured kioslaverc file causes extreme slowdowns when communicating between apps
Product: [Frameworks and Libraries] frameworks-kio Reporter: leonardogilrojo
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null, leonardogilrojo
Priority: NOR    
Version First Reported In: 5.97.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The broken kioslaverc file

Description leonardogilrojo 2022-09-13 05:59:00 UTC
Created attachment 152015 [details]
The broken kioslaverc file

SUMMARY:
   Actions that initiate communication between apps will either cause the plasmashell to freeze and/or take a huge amount of time to finish. Examples include clicking a link in Libreoffice to open in Firefox or clicking on a file in Dolphin to open in any other application, which both take upwards of 15 seconds.
   One notable example is trying to search for a weather station in KDE Plasma's Weather Report widget, which will lock up plasmashell, leaving the only thing to do being to use a terminal to reboot or restart plasmashell. 

STEPS TO REPRODUCE
1. Create a file in ~/.config called kioslaverc
2. Paste the text below into it:

ProxyUrlDisplayFlags=0

[Proxy Settings]
NoProxyFor=
Proxy Config Script=
ProxyType=3
ReversedException=false
ftpProxy=
httpProxy=
httpsProxy=
socksProxy=


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 leonardogilrojo 2022-09-13 06:03:31 UTC
I accidentally submitted before I finished. Apologies.

To reproduce the issue:
1. Copy the attached text into a file at ~/.config/kioslaverc
2. Reboot

I have confirmed that this faulty file is the cause of the issue, as removing it and only it stops the issue from happening.

Here below is my system's information:

Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-9300H CPU @ 2.40GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: Acer
Product Name: Nitro AN515-54
System Version: V1.05