Bug 443368 - kf.coreaddons: KPluginFactory could not load the plugin ../kcm_keyboard.so
Summary: kf.coreaddons: KPluginFactory could not load the plugin ../kcm_keyboard.so
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (other bugs)
Version First Reported In: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-05 20:20 UTC by Tony
Modified: 2021-10-06 20:00 UTC (History)
3 users (show)

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


Attachments
Also on Neon (172.01 KB, image/png)
2021-10-06 00:30 UTC, Tony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2021-10-05 20:20:01 UTC
SUMMARY
Keyboard options/settings are not loading correctly In systemsetting.

Going into devices > keyboard throws : 

kf.coreaddons: KPluginFactory could not load the plugin 
/usr/lib64/qt5/plugins/kcms/kcm_keyboard.so/kcm_keyboard.so

The kcm works OK though if launched with kcmshell5 kcm_keyboard

STEPS TO REPRODUCE
1. Open systemsettings
2. Go into devices > keyboard
3. Noticed it does not load correctly.

SOFTWARE/OS VERSIONS
Opensuse Tumbleweed
KDE Plasma Version: 5.87.0
KDE Frameworks Version: 5.23.80
Qt Version: 5.15.2
Comment 1 Andrey 2021-10-05 21:57:22 UTC
It looks like distro-specific problem, please try to reproduce in VM on some other distro, e.g Neon.
If it happens again please reopen.
Comment 2 Tony 2021-10-06 00:30:25 UTC
Created attachment 142200 [details]
Also on Neon

Yes it happens in neon as well.
I have to add, eventhough kcmshell5 kcm_keyboard does launch it does not save any change made.
Comment 3 Andrey 2021-10-06 13:11:14 UTC
Does it happens on Neon run from .iso?

It seems people faced this problem already.
As I understand it, old .so still present on the system.
As a temporary solution, try to detect which one and remove it manually.

Hope it helps.
Comment 4 Tony 2021-10-06 19:22:12 UTC
(In reply to Andrey from comment #3)
> Does it happens on Neon run from .iso?
> 
> It seems people faced this problem already.
> As I understand it, old .so still present on the system.
> As a temporary solution, try to detect which one and remove it manually.
> 
> Hope it helps.

No, from the live system (ISO) it does not happen.

Removing "usr/lib64/qt5/plugins/kcms/kcm_keyboard.so/kcm_keyboard.so" from the system does indeed fix it.
Comment 5 Nate Graham 2021-10-06 20:00:45 UTC
Looks like the packaging failed to remove the old shared library file.