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

Taken from AppPreview.qml

commitc729a16422ada8ea4efe9240f9211cb24e24c648 authorAlbert Astals <albert.astals@canonical.com> dateWed 19 Feb 2014, 10:39 (13 years ago) parent1cf4b954fe5d4e
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 {