Kirigami.Page breaks with Loader+Component inside

Marco Martin notmart at gmail.com
Mon Apr 11 08:44:47 UTC 2016


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

-- 
Marco Martin


More information about the Plasma-devel mailing list