"Get new widget" button overlaps scroll bar when search result is empty Reproducible: Always Steps to Reproduce: 1.open widget explorer 2.type any random text in the search field 3. Actual Results: "Get new widgets" button overlaps scroll bar. See the screenshot link. Expected Results: "Get new widgets" button does NOT overlap scroll bar. See the screenshot link.
this looks like it's a ScrollView bug, it seems to size the scrollbar wrong when there are no item (and the scrollbar is set as always shown (this is done to work around another bug)
from Qt's qtquickcontrols/src/controls/ScrollViewStyle.qml: property int extent: Math.max(minimumHandleLength, __styleData.horizontal ? (flickableItem ? flickableItem.width/flickableItem.contentWidth : 0 ) * bg.width : (flickableItem ? flickableItem.height/flickableItem.contentHeight : 0) * bg.height) giving a divide by zero when flickableItem.contentHeight is 0
Fixed in Qt 5.8
Plasma 5.9.3 is built against qt 5.8 on Arch but this bug is still present.
I can confirm the bug is still present when running with Qt 5.8.0.
Reopening as it's not fixed.
Weird, my commit is in Qt 5.8 branch before 5.8 tagging [1]. [1] https://code.qt.io/cgit/qt/qtquickcontrols.git/commit/?id=8a223fc04e003d93c63dc3c1786da115dd70c7bd
Solved on Arch running plasma 5.10 beta. \o/