Bug 455032 - Kate takes minutes to start if [Plugin:kateprojectplugin:] contains remote files
Summary: Kate takes minutes to start if [Plugin:kateprojectplugin:] contains remote files
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: plugin-snippets (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-08 14:02 UTC by Fushan Wen
Modified: 2023-02-26 20:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 22.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.