Bug 494435

Summary: kf.configwidgets: A widget named "kcfg_XYZ" was found but there is no setting named "XYZ"
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_recentFilesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: meven, nate
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description postix 2024-10-10 12:56:10 UTC
SUMMARY

Open the recent files kcm

```
systemsettings: kf.configwidgets: A widget named "kcfg_keepHistoryFor" was found but there is no setting named "keepHistoryFor"
systemsettings: kf.configwidgets: A widget named "kcfg_whatToRemember" was found but there is no setting named "whatToRemember"
systemsettings: kf.configwidgets: A widget named "kcfg_blockedByDefault" was found but there is no setting named "blockedByDefault"
systemsettings: QSqlDatabasePrivate::removeDatabase: connection 'plugins_sqlite_db_resources' is still in use, all queries will cease to work.
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-11-14 19:43:08 UTC
Can still reproduce the warnings for kcfg_ properties. Cannot reproduce the one about the QSLite database.
Comment 2 Méven Car 2024-11-20 09:11:31 UTC
The issue is that this kcm has two settings files passed to K_PLUGIN_FACTORY_WITH_JSON and addConfig.

And this warning can appear because KCModule/KCoreConfigSkeleton don't account for this.
Comment 3 Nate Graham 2025-04-11 00:10:20 UTC

*** This bug has been marked as a duplicate of bug 466072 ***