Bug 314071 - System wide QML applets fail if an empty packages/ dir is in Plasma's localprefix apps directory
Summary: System wide QML applets fail if an empty packages/ dir is in Plasma's localpr...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.9-git
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 13:48 UTC by Luca Beltrame
Modified: 2013-01-30 09:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/