Bug 455032

Summary: Kate takes minutes to start if [Plugin:kateprojectplugin:] contains remote files
Product: [Applications] kate Reporter: Fushan Wen <qydwhotmail>
Component: plugin-snippetsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 22.12.0
Sentry Crash Report:

Description Fushan Wen 2022-06-08 14:02:33 UTC
SUMMARY
If [Plugin:kateprojectplugin:] has the record of the folder of a remote file, Kate will take minutes to start if the remote location is slow to access.


STEPS TO REPRODUCE
1. Don't know why the remote file was there
2. 
3. 

OBSERVED RESULT
Kate takes minutes to start

EXPECTED RESULT
Kate starts immediately.

SOFTWARE/OS VERSIONS
Information for package kate:
-----------------------------
Repository     : @System
Name           : kate
Version        : 22.07.70git.20220607T022726~8ab9f989-ku.37.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 4.1 MiB
Installed      : Yes
Status         : up-to-date
Source package : kate-22.07.70git.20220607T022726~8ab9f989-ku.37.1.src
Upstream URL   : https://kate-editor.org
Summary        : Advanced Text Editor
Description    : 
    Kate is an advanced text editor by KDE.

ADDITIONAL INFORMATION
The section contains this part:
{"data":{"files":[{"git":1}]\\,"name":"openwrt"}\\,"path":"/run/user/1000/kio-fuse-qjulli/sftp/out.vps/home/qydw/openwrt"}
Comment 1 Christoph Cullmann 2023-02-26 20:02:22 UTC
We now again disabled the save/restore of projects per default.

If you enable that again, as that will trigger some access to that location it might still be slow, though, but it will not happen per default.