on xenial help sign in
Add back the workaround for not being able scroll the image gallery

Taken from AppPreview.qml

commit197ee67cb02f28fab9e4aea88a60d176ea73c631 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 5 Mar 2014, 17:31 (13 years ago) parent21adca2
1 file changed+9
qml/Dash/Previews/PreviewImageGallery.qml+9
qml/Dash/Previews/PreviewImageGallery.qml+9
@@ -33,6 +33,15 @@ PreviewWidget {
3333 cacheBuffer: width * 3
3434 model: root.widgetData["sources"]
3535
36+ // FIXME: Because of ListViews inside ListViews inside Flickables inside ListViews (and some more)
37+ // we finally reached the point where this ListView doesn't correctly get swipe input any more but
38+ // instead the parent ListView is the one that is swiped. This MouseArea sort of creates a blocking
39+ // layer to make sure this ListView can be swiped, regardless of what's behind it.
40+ MouseArea {
41+ anchors.fill: parent
42+ enabled: parent.contentWidth > parent.width
43+ }
44+
3645 LazyImage {
3746 objectName: "placeholderScreenshot"
3847 anchors {