Bug 443368

Summary: kf.coreaddons: KPluginFactory could not load the plugin ../kcm_keyboard.so
Product: [Applications] systemsettings Reporter: Tony <jodr666>
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: butirsky, cyril.rossi, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Also on Neon

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.