Bug 494435 - kf.configwidgets: A widget named "kcfg_XYZ" was found but there is no setting named "XYZ"
Summary: kf.configwidgets: A widget named "kcfg_XYZ" was found but there is no setting...
Status: RESOLVED DUPLICATE of bug 466072
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_recentFiles (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 12:56 UTC by postix
Modified: 2025-04-11 00:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***