SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. enable PDF preview (maybe) 2. leave everything normal 3. open Kate OBSERVED RESULT It takes like 20 seconds to open on my machine, while Kwrite works very fast EXPECTED RESULT Loading as fast as other programs. No huge cache or anything should be a po SOFTWARE/OS VERSIONS Linux/KDE Plasma: 22.04 KDE Plasma Version: 5.24.6 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.3
can you try removing the following file and see if it helps: ``` ~/.local/share/recently-used.xbel ``` Also, explain what do you mean by "1. enable PDF preview (maybe)"
Deleting the file worked somehow once, but after a few restarts it was the same. 20s waiting, error: ``` user@laptop kate Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed Not a JPEG file: starts with 0x89 0x50 ``` I use the Okular PDF preview as the only not preconfigured addin that could be
> Deleting the file worked somehow once, but after a few restarts it was the same. This is known and fixed in 22.08. Once you open a few files, that file you deleted builds up again and starts slowing you down. I assume you open *a lot* of files. For the second, I assume you mean "Document Preview" plugin. And for e.g when you open a markdown document, it shows you the preview for it. It is unlikely that this has any affect on startup. Especially because removing the xbel fixed it, so it's I am 99% sure the bug is with reading that file. For now, I would suggest you to keep removing that file periodically. With 22.08, this problem is fixed but if you still face it, please reopen the bug.