My application is called "main_EXE", the config file is saved at "~/.config/main_EXErc" and this is the content: >>> [Startup] MenuBar=Enabled <<< The (complete) application code: >>> #include <QApplication> #include <KConfigCore/KConfigGroup> #include <KConfigCore/KSharedConfig> #include <KXmlGui/KXmlGuiWindow> class MainWindow : public KXmlGuiWindow { Q_OBJECT public: MainWindow() : KXmlGuiWindow(0) { KSharedConfig::openConfig()->deleteGroup("Startup"); } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); MainWindow *window = new MainWindow(); window->show(); return app.exec(); } #include "main.moc" <<< After running the code, this is the new content of the config file: >>> [Startup] MenuBar[$d] <<< * removing the entry directly ( deleteEntry("ActiveTab") ) does not work too * a sync() call writes the incorrect config to the file * it works correctly if the config path is specified with a custom path * it works correctly if the group was not in the config file when the application started (create+delete works) And most important: When I search for "[$d]" in ~/.config/* , there are 10 config files with these invalid entries (ksmserverrc, oktetarc, khotkeyrc, plasmashellrc, ...). This bug is slowly messing up the config files for all KDE applications and can trigger further bugs. Reproducible: Always
Git commit 5582ed5d1ab521e4c5d8d609e04836338a39e201 by Alexander Bikadorov. Committed on 21/10/2016 at 18:47. Pushed by abikadorov into branch 'master'. Workaround for closed tabs not correctly removed from config file M +5 -5 krusader/panelmanager.cpp http://commits.kde.org/krusader/5582ed5d1ab521e4c5d8d609e04836338a39e201
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!