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

            Bug ID: 368493
           Summary: Infinite sizing loop
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Pager
          Assignee: plasma-b...@kde.org
          Reporter: k...@davidedmundson.co.uk

Created attachment 100995
  --> https://bugs.kde.org/attachment.cgi?id=100995&action=edit
longer backtrace

Steps to reproduce:

Remove panel
Add new default panel.

I get a stack overflow full of:
#105 0x00007fffd016dfac in QQuickLayout::geometryChanged (this=0x4865840,
newGeometry=..., oldGeometry=...)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/imports/layouts/qquicklayout.cpp:793
#106 0x00007ffff56d1800 in QQuickItem::setImplicitSize (this=0x4865840, w=211,
h=39)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/quick/items/qquickitem.cpp:6637
#107 0x00007fffd0170875 in QQuickGridLayoutBase::invalidate (this=0x4865840,
childItem=0x4865a00)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/imports/layouts/qquicklinearlayout.cpp:429
#108 0x00007fffd0170dbc in QQuickGridLayoutBase::rearrange (this=0x4865840,
size=...)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/imports/layouts/qquicklinearlayout.cpp:535
#109 0x00007fffd016dfac in QQuickLayout::geometryChanged (this=0x4865840,
newGeometry=..., oldGeometry=...)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/imports/layouts/qquicklayout.cpp:793
#110 0x00007ffff56d1800 in QQuickItem::setImplicitSize (this=0x4865840, w=233,
h=44)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/quick/items/qquickitem.cpp:6637
#111 0x00007fffd0170875 in QQuickGridLayoutBase::invalidate (this=0x4865840,
childItem=0x4865a00)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/imports/layouts/qquicklinearlayout.cpp:429
#112 0x00007fffd0170dbc in QQuickGridLayoutBase::rearrange (this=0x4865840,
size=...)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarative/src/imports/layouts/qquicklinearlayout.cpp:535
#113 0x00007fffd016dfac in QQuickLayout::geometryChanged (this=0x4865840,
newGeometry=..., oldGeometry=...)
    at
/run/media/david/15cbf614-32ad-44e8-9fdc-466f76304ed7/projects/qt5/qtdeclarat

90% sure it's the new pager.

I've seen this before on an applet which set the layout hints based on the size
of the item - which then forces the panel (the grid layout in the log) to get
stuck in a loop.

There is code that sets the nuber. rows/columns based on the size of the
applet, and then that updates the rowHeight which in turn sets the applet size. 

As i imagine you need to have exactly the correct wrong setup to replicate it,
I have 3x1desktops, on two 1920x1080 screens. The pager shows both screens.

I also have:
file:///opt/kde5/share/plasma/plasmoids/org.kde.plasma.pager/contents/ui/main.qml:171:5:
QML Flow: Binding loop detected for property "rowHeight"

which is probably related.

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

Reply via email to