https://bugs.kde.org/show_bug.cgi?id=484953

--- Comment #3 from Harald Sitter <sit...@kde.org> ---
Created attachment 168415
  --> https://bugs.kde.org/attachment.cgi?id=168415&action=edit
broken qml example

I didn't manage to completely debug this unfortunately, making it hard to punt
this to Qt.

The gist of it is that an item in a layout that is a footer of a page inside a
Kirigami ColumnView (is not getting sized correctly. The page and layout sizes
are correct though so something appears to go wrong inside the layout logic
propagating to the children.

Of particular interest is that the width on the qml side is in fact changing to
the correct width but later changing to 0 thus breaking. Here's example output
where we can see the layout changing width, propagating to a rectangle inside
and then a second bogus resize that breaks things.

Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickLayout::geometryChange
QRectF(0,0 500x500) QRectF(0,0 500x0)
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickGridLayoutBase::rearrange 0
QQuickRowLayout_QML_48(0x624327c69b80, id="columnViewLayout",
parent=0x624327cbdbc0, geometry=0,0 500x500)
Qml Runtime(4007)/(qt.quick.layouts) unknown: ""
QQuickGridLayoutBase::rearrange() QSizeF(500, 500)
Qml Runtime(4007)/(qml) expression for onWidthChanged: layout width 500
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickLayout::geometryChange
QRectF(0,468 500x32) QRectF(0,468 0x32)
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickGridLayoutBase::rearrange 0
QQuickColumnLayout(0x624327ca4750, parent=0x624327ec3cb0, geometry=0,468
500x32, z=1)
Qml Runtime(4007)/(qt.quick.layouts) unknown: ""
QQuickGridLayoutBase::rearrange() QSizeF(500, 32)
Qml Runtime(4007)/(qml) expression for onWidthChanged: rect width 500
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickLayout::geometryChange
QRectF(0,468 0x32) QRectF(0,-32 0x32)
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickGridLayoutBase::rearrange 0
QQuickColumnLayout(0x624327ca4750, parent=0x624327ec3cb0, geometry=0,468
500x32, z=1)
Qml Runtime(4007)/(qt.quick.layouts) unknown: ""
QQuickGridLayoutBase::rearrange() QSizeF(0, 32)
Qml Runtime(4007)/(qml) expression for onWidthChanged: rect width 0

I am attaching a fairly minimal example. Showing the problem. When run
initially there is no footer rectangle because it has 0 width. When resizing
the window it appears.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to