[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-15 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=457785

--- Comment #8 from Aaron Williams  ---
Yes. Any changes to the settings of Kate do not seem to take hold. Note that I
had numerous instances of Kate running. I was able to fix this by logging out
and deleting ~/.local/share/kate/anonymous.katesession. If other instances of
kate are running, settings do not take effect.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-15 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=457785

--- Comment #7 from Waqar Ahmed  ---
> Despite disabling ctags, each time I start Kate it never picks up the new 
> settings

You mean CTags setting is reenabled?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-14 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=457785

--- Comment #6 from Aaron Williams  ---
I generally do not use sessions. Despite disabling ctags, each time I start
Kate it never picks up the new settings., making this ctags issue especially
annoying.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=457785

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #5 from Waqar Ahmed  ---
Marking this as fixed as we have included an option that causes this problem.
With 22.08 you can disable project restoration in the Project plugin settings
and this problem will go away.

I will try to make other improvements around this to ensure that things are not
so bad if one has multiple projects open.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-12 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=457785

--- Comment #4 from Waqar Ahmed  ---
22.04 tries to restore the projects you had open last time which can lead to
unpleasant results. I assume you dont use sessions so a lot of projects have
accumulated. Check the combobox at the top of project files tree, it will list
all open projects. Try closing a few of them and it should be a lot better.

22.08 provides an option allowing you to opt-out of project restoration.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-12 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=457785

--- Comment #3 from Aaron Williams  ---
This would explain another problem I have where when logging back in ctags
consumes an inordinate amount of memory sorting (well over 100GB!) It would be
nice if I could limit this or if ctags could be killed. In the case of the
files taking a very long time the number of files in the tree was fairly small,
though I have several other massive trees I also open. I have disabled this and
the problem seems to have disappeared.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-12 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=457785

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #2 from Waqar Ahmed  ---
> #3  0x7f66d36735eb in QProcess::waitForFinished(int) () from 
> /usr/lib64/libQt5Core.so.5
> #4  0x7f66be039793 in KateProjectIndex::loadCtags 
> (this=this@entry=0x13f27e0, files=..., ctagsMap=..., force=force@entry=false) 
> at 
> /usr/src/debug/kate-22.04.3-lp154.1.20.x86_64/addons/project/kateprojectindex.cpp:109

Seems like you have CTags enabled in the project plugin. When you open a single
file in a git repo, it loads the whole repo as a project and starts CTags
indexing. When you quit, that indexing hasn't finished yet so it waits.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 457785] Kate is extremely slow to exit

2022-08-11 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=457785

--- Comment #1 from Aaron Williams  ---
I removed anonymous.katesession and the problem has disappeared. I have
preserved the original file.

-- 
You are receiving this mail because:
You are watching all bug changes.