Kirigami.Page breaks with Loader+Component inside

Martin Klapetek martin.klapetek at gmail.com
Tue Apr 12 12:29:23 UTC 2016


On Mon, Apr 11, 2016 at 6:07 AM, Aleix Pol <aleixpol at kde.org> wrote:

> On Mon, Apr 11, 2016 at 10:44 AM, Marco Martin <notmart at gmail.com> wrote:
> > On Monday 11 April 2016, Martin Klapetek wrote:
> >> Hey,
> >>
> >> so I've ported SpaceBar to Kirigami and got stuck with Page
> >> not rendering anything when it contains a Loader.
> >>
> >> I've reduced it to a minimal example, attached, where it is
> >> easily reproducible.
> >>
> >> Running the attached qml file will show an empty page, removing
> >> the Loader _and_ Component will show the green rectangle.
> >> Changing the Page to say, an Item, shows both Rects.
> >>
> >> This was working before and I have tried to look into it, but couldn't
> >> figure out what's up with that.
> >>
> >> Can somebody have a look?
> >
> > i think i know why this happens (actually the problam at the moment is
> that
> > page can only have 1 child)
> > it should be changed to allow a list of children as any other item
> >
> > this patch on page should fix stuff
> > https://paste.kde.org/prkp1my8o
>
> Or this patch, please review:
> https://phabricator.kde.org/D1363


Ok, latest master now works, thank you!

Cheers
-- 
Martin Klapetek | KDE Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160412/9a260aa0/attachment.html>


More information about the Plasma-devel mailing list