if an applet is invalid, it has immediately UiReadyConstraint

Authored by mart on Jul 26 2018, 11:09 AM.

Description

if an applet is invalid, it has immediately UiReadyConstraint

Summary:
mirroring the behavior when the applet is created by restorecontents,
invalid applets get immediately uireadyconstraint.
This solves the problem of panels not appearing when the setup js contains an non existent applet,
as the panel was waiting forever for applets to finish loading, which never happens

Test Plan: now js startup scripts with an invalid applet have panels loading correctly.

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: davidedmundson, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D14341

Details

Committed
martJul 26 2018, 11:10 AM
Reviewer
Plasma
Differential Revision
D14341: if an applet is invalid, it has immediately UiReadyConstraint
Parents
R242:af01c2e95370: [Plasma PluginLoader] Cache plugins during startup
Branches
Unknown
Tags
Unknown