On system settings, If Mouse KCM is opened first, then touchpad KCM loads the same Mouse QML file (qrc::/libinput/main.qml) instead of Touchpad Qml file.
Having same url (qrc::/libinput/main.qml).
Fix: simply renaming qml files fixed the issue.There could be better solutions though.
BUG: 398228