Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
9812a9cc1e71b0a3d8f25c0db2457f8673e53054
Description
I have a simple code
import QtQuick 2.6 import QtQuick.Window 2.2 import QtQuick.Controls 2.0 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") ListView { anchors.fill: parent model: Qt.fontFamilies() delegate: SwipeDelegate { text: modelData onClicked: console.log("Clicked") } boundsBehavior: Flickable.StopAtBounds } }
When ListView has boundsBehavior set to Flickable.StopAtBounds, a delegate does not loose focus when it should, and onClicked event is fired. Please watch 3 second video I attach, it explains the problem very quickly
Attachments
For Gerrit Dashboard: QTBUG-56312 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
172626,15 | SwipeDelegate: don't emit clicked when released outside | 5.7 | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |