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

Taken from AppPreview.qml Fixes: 1281709

commitdd0bb6edc5f988fd193bd77cf3f5b98aa45b3790 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 14 Mar 2014, 15:45 (13 years ago) parent7e8f39a197ee67
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 {