Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.9.3
-
None
-
iOS 10.3.3
Description
I have a ScrollView with vertical and horizontal ScrollBars whose active states are bound to each other as in this documentation example: "Binding the Active State of Horizontal and Vertical Scroll Bars" https://doc.qt.io/qt-5/qml-qtquick-controls2-scrollbar.html#binding-the-active-state-of-horizontal-and-vertical-scroll-bars
Here is the relevant code:
import QtQuick.Controls 2.2 as QtControls
QtControls.ScrollView {
QtControls.ScrollBar.horizontal: ScrollBar { id: hbar; active: vbar.active }
QtControls.ScrollBar.vertical: ScrollBar { id: vbar; active: hbar.active }
}
In my case, the contents of the ScrollView are not large enough to require ScrollBars, yet when I attempt to drag anyway (slide my finger on the ScrollView), the ScrollBars activate each other recursively (see attached stack) and eventually my app crashes.