SUMMARY The size of the krusaderrc file gets too big, when you close Krusader you see that in that file there's still information about closed tabs. STEPS TO REPRODUCE Execute Krusader, open and close several tabs. OBSERVED RESULT In the krusaderrc file there's information about the closed tabs. EXPECTED RESULT Should the information about closed tabs... be deleted when quitting Krusader?
I will try to apply some ideas about solving that.
Do you mean the [closedTab_*] sections? I also see this. It contains tabs closed in some other sessions. Why do we store closed tabs info in the config at all? I think it should be in-memory only, like with browsers.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/krusader/-/merge_requests/79
> Why do we store closed tabs info in the config at all? I > think it should be in-memory only, like with browsers. It uses the same infrastructure that Krusader has about tabs. The information is saved into the config file in some circumstances, not always. Anyone can propose code that makes it behave in a different way, of course.
Git commit 8e63522a48fc78593a22d8a850c1e80c4cf915b1 by Toni Asensi Esteve. Committed on 16/01/2022 at 17:33. Pushed by asensi into branch 'master'. Avoid keeping closed tabs settings (or delete them) in some cases Avoid keeping closed tabs settings (or delete them) when the limit of closed tabs is reached, when closing Krusader and when cleaning the list of closed tabs. FIXED: [ 447197 ] The size of the krusaderrc file gets too big Revision: https://invent.kde.org/utilities/krusader/-/merge_requests/79 M +2 -7 krusader/GUI/recentlyclosedtabsmenu.cpp M +3 -0 krusader/krusader.cpp M +25 -1 krusader/panelmanager.cpp M +8 -0 krusader/panelmanager.h https://invent.kde.org/utilities/krusader/commit/8e63522a48fc78593a22d8a850c1e80c4cf915b1