Review Request: QML Plasma Components - fix for bug in ScrollBar anchoring
Sebastian Gottfried
sebastiangottfried at web.de
Fri Dec 7 10:16:28 GMT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107622/
-----------------------------------------------------------
Review request for KDE Runtime, Burkhard Lück and Marco Martin.
Description
-------
Regarding the QML Plasma components:
The recent commit by Bernhard Lück checking whether anchoring of a ScrollBar is possible contains a subtle logic error. I think the intended behavior is to check whether the ScrollBar item's parent is the associated flickable itself or its parent. But because the check is done in "internalLoader", a child of the actual ScrollBar item on directly on this item's parent property, it checks whether the ScrollBar item is the flickable or its parent. The patch fixes this by doing the checks on 'scrollBar.parent'.
Feel free to discard that request if I'm mistaken.
Diffs
-----
plasma/declarativeimports/plasmacomponents/qml/ScrollBar.qml 7464645
Diff: http://git.reviewboard.kde.org/r/107622/diff/
Testing
-------
The checking logic broke some of the scroll bars in KTouch, now they work again.
Thanks,
Sebastian Gottfried
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20121207/8f5b7b87/attachment.htm>
More information about the kde-core-devel
mailing list