Bug 394549

Summary: No visible error reporting when QML KCM fails to load
Product: [Frameworks and Libraries] frameworks-kdeclarative Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, kde, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2018-05-22 07:49:39 UTC
When a QML KCM fails to load due to syntax error or missing QML import, there is no visual error message shown but just an empty KCM.

KDeclarative ConfigModule should expose an error and KCModuleQML should use KCModuleLoader::reportError to communicate loading error just as it does when a library files to load.
Comment 1 David Edmundson 2020-01-05 22:50:16 UTC
Fixed by Kai.