on xenial help sign in
Merge lp:~unity-team/unity8/gallery-workaround
ca5781eMichał Sawicz
qml/Dash/Previews/PreviewImageGallery.qml+9
@@ -43,6 +43,15 @@ PreviewWidget {
43 enabled: parent.contentWidth > parent.width
43 enabled: parent.contentWidth > parent.width
44 }
44 }
45
45
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+
46 LazyImage {
55 LazyImage {
47 objectName: "placeholderScreenshot"
56 objectName: "placeholderScreenshot"
48 anchors {
57 anchors {