Merge lp:~unity-team/unity8/gallery-workaround
commit12689c0bc9259e84612ec6c46067ee803cd40ddb
authorMichał Sawicz <michal.sawicz@canonical.com>
dateWed 12 Mar 2014, 12:06 (13 years ago)
parent4bd83a1ca5781e
qml/Dash/Previews/PreviewImageGallery.qml+9
@@ -43,6 +43,15 @@ PreviewWidget {
4343 enabled: parent.contentWidth > parent.width
4444 }
4545
46+ // FIXME: Because of ListViews inside ListViews inside Flickables inside ListViews (and some more)
47+ // we finally reached the point where this ListView doesn't correctly get swipe input any more but
48+ // instead the parent ListView is the one that is swiped. This MouseArea sort of creates a blocking
49+ // layer to make sure this ListView can be swiped, regardless of what's behind it.
50+ MouseArea {
51+ anchors.fill: parent
52+ enabled: parent.contentWidth > parent.width
53+ }
54+
4655 LazyImage {
4756 objectName: "placeholderScreenshot"
4857 anchors {