on xenial help sign in
fix runningapplicationsgrid tile width,
654f70bMichael Zanetti
qml/Dash/Apps/RunningApplicationTile.qml+3−2
@@ -33,7 +33,7 @@ AbstractButton {
33 // To avoid "binding loop" warning
33 // To avoid "binding loop" warning
34 height: shapedApplicationImage.height + labelContainer.height
34 height: shapedApplicationImage.height + labelContainer.height
35
35
36− width: shapedApplicationImage.width
36+ width: shapedApplicationImage.width <= units.gu(11) ? units.gu(11) : height
37
37
38 property bool terminationModeEnabled: false
38 property bool terminationModeEnabled: false
39
39
@@ -63,7 +63,8 @@ AbstractButton {
63 source: application.screenshot
63 source: application.screenshot
64 // height : width = ss.height : ss.width
64 // height : width = ss.height : ss.width
65 height: shapedApplicationImage.height
65 height: shapedApplicationImage.height
66+ fillMode: Image.PreserveAspectCrop
66− width: height * sourceSize.width / sourceSize.height
67+ width: Math.min(height, height * sourceSize.width / sourceSize.height)
67 }
68 }
68
69
69 }
70 }
qml/Shell.qml+5
@@ -118,6 +118,11 @@ FocusScope {
118 anchors.rightMargin: stages.overlayWidth
118 anchors.rightMargin: stages.overlayWidth
119 clip: stages.overlayMode && !stages.painting
119 clip: stages.overlayMode && !stages.painting
120
120
121+ InputFilterArea {
122+ anchors.fill: parent
123+ blockInput: parent.clip
124+ }
125+
121 Item {
126 Item {
122 id: underlay
127 id: underlay
123 objectName: "underlay"
128 objectName: "underlay"