on xenial help sign in
Merge lp:~unity-team/unity8/gallery-workaround
commitca5781ef65edab81f87e28522ea7e12d5335ed72 authorMichał Sawicz <michal.sawicz@canonical.com> dateWed 12 Mar 2014, 12:00 (13 years ago) parentdd466ff197ee67
1 file changed+9
qml/Dash/Previews/PreviewImageGallery.qml+9
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 {