Summary: | konversation should separate state config from settings config | ||
---|---|---|---|
Product: | [Applications] konversation | Reporter: | Till Schäfer <till2.schaefer> |
Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander.lohnau |
Priority: | NOR | ||
Version: | 1.8.21082 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://phabricator.kde.org/T12549 | ||
Latest Commit: | https://invent.kde.org/network/konversation/commit/7b767a0acbbf5804fafb7c52ac6c2f8db6fc0459 | Version Fixed In: | |
Sentry Crash Report: |
Description
Till Schäfer
2021-08-26 14:08:24 UTC
see also https://phabricator.kde.org/T12549 - Remove state data from config files I will work on a fix once the current frameworks master is released. That contains some logic in KXMLGUI & utility methods in KConfig to move config entries from one group to another.
>Observed states in kid3rc so far:
Is this related to Konversation?
(In reply to Alexander Lohnau from comment #2) > I will work on a fix once the current frameworks master is released. That > contains some logic in KXMLGUI & utility methods in KConfig to move config > entries from one group to another. cool > > >Observed states in kid3rc so far: > > Is this related to Konversation? Copy & Paste Error. I have also opened a similar bug report for Kid3. The data below is correct -> simply apply s/kid3rc/konversationrc/ :) In case you can try out a patch: https://invent.kde.org/network/konversation/-/merge_requests/61 Git commit 7b767a0acbbf5804fafb7c52ac6c2f8db6fc0459 by Alexander Lohnau. Committed on 27/12/2021 at 20:54. Pushed by alex into branch 'master'. Store state data in separate config file For migrating the old data we can utilize the KConfigGroup::moveValuesTo method. For the state config a new kcfg file is added. Relates to https://phabricator.kde.org/T12549. M +1 -0 src/CMakeLists.txt M +2 -0 src/application.cpp M +0 -15 src/config/konversation.kcfg A +23 -0 src/config/konversation_state.kcfg A +8 -0 src/config/konversation_state.kcfgc M +9 -8 src/irc/channel.cpp M +1 -0 src/mainwindow.cpp M +9 -2 src/viewer/viewcontainer.cpp https://invent.kde.org/network/konversation/commit/7b767a0acbbf5804fafb7c52ac6c2f8db6fc0459 related merge request: Store DCCRecipientDialog window size in state config https://invent.kde.org/network/konversation/-/merge_requests/77 related Bug 454262: konversation does change order of identities in config file |