D21618: Allow QtQuick applets and wallpapers to defer UiReadyConstraint

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jun 13 09:02:12 BST 2019


broulik added inline comments.

INLINE COMMENTS

> appletinterface.cpp:172
>  
> -    applet()->updateConstraints(Plasma::Types::UiReadyConstraint);
> +    if (m_loadingRef == 0) {
> +        applet()->updateConstraints(Plasma::Types::UiReadyConstraint);

In my case this code path is hit before any of the QML property assignments or `Component.onCompletd` are executed. I don't really understand why given `AppletQuickItem::init()` does `forceCompletion()`

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D21618

To: davidedmundson, #plasma, apol
Cc: broulik, apol, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190613/3b4ac302/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list