Bug 314071

Summary: System wide QML applets fail if an empty packages/ dir is in Plasma's localprefix apps directory
Product: [Plasma] plasma4 Reporter: Luca Beltrame <lbeltrame>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: sebas
Priority: NOR    
Version: 4.9-git   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Luca Beltrame 2013-01-29 13:48:33 UTC
Given $KDEHOME/share/apps/plasma, if a directory called "packages" is present, system wide QML applets load, but do not display any contents (i.e., just the frames). The issue disappears if either:

a. The system wide QML packages are symlinked or copied to $KDEHOME/share/apps/plasma/packages
b. The packages/ directory is removed

The issue is 100% reproducible with current master.

Reproducible: Always

Steps to Reproduce:
1. Create an empty "packages" directory in $KDEHOME/share/apps/plasma
2. Restart Plasma
3. Open the Widgets Explorer
Actual Results:  
The widgets explorer loads an empty frame

Expected Results:  
The widgets explorer opens and displays correctly

This happens also with other QML applets as per description: I've seen this with the pager, at least.
Comment 1 Sebastian Kügler 2013-01-29 22:54:21 UTC
Proposed patch on reviewboard: https://git.reviewboard.kde.org/r/108664/