Summary: | The size of the krusaderrc file gets too big | ||
---|---|---|---|
Product: | [Applications] krusader | Reporter: | Toni Asensi Esteve <toni.asensi> |
Component: | general | Assignee: | Toni Asensi Esteve <toni.asensi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | krusader-bugs-null, nikita+kde |
Priority: | NOR | Keywords: | regression, reproducible, triaged |
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/krusader/commit/8e63522a48fc78593a22d8a850c1e80c4cf915b1 | Version Fixed In: |
Description
Toni Asensi Esteve
2021-12-18 18:35:44 UTC
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 |