| Summary: | Anomaly: KPluginMetaData(file) uses different search path to KPluginMetaData::findPlugins() | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kcoreaddons | Reporter: | Jonathan Marten <jjm> |
| Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexander.lohnau, kdelibs-bugs-null, nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kcoreaddons/commit/4ff1f9660c634f7308a6f868fffa003b588f42e7 | Version Fixed/Implemented In: | 5.100 |
| Sentry Crash Report: | |||
|
Description
Jonathan Marten
2022-09-29 17:54:22 UTC
I will make a MR tomorrow, locally I have a draft + test case already. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/265 Git commit 4ff1f9660c634f7308a6f868fffa003b588f42e7 by Alexander Lohnau. Committed on 22/10/2022 at 17:31. Pushed by alex into branch 'master'. KPluginMetaData: Check applicationDirPath first when resolving plugin paths KPluginMetaData::findPlugins prepends this path to the library paths, but when we load a plugin by name we did not take this path into account. FIXED-IN: 5.100 M +37 -0 autotests/kpluginmetadatatest.cpp M +15 -2 src/lib/plugin/kpluginmetadata.cpp https://invent.kde.org/frameworks/kcoreaddons/commit/4ff1f9660c634f7308a6f868fffa003b588f42e7 |