on xenial help sign in
PhoneStage tests passing again!
0cc0513Michael Zanetti
qml/Shell.qml+3−3
@@ -278,8 +278,9 @@ StyledItem {
278 focus: true
278 focus: true
279
279
280 dragAreaWidth: shell.edgeSize
280 dragAreaWidth: shell.edgeSize
281− background: wallpaperResolver.background
281+ background: wallpaperResolver.background
282+ leftEdgeDragProgress: !greeter || greeter.locked || !tutorial.launcherLongSwipeEnabled ? 0 :
282− leftEdgeDragProgress: Math.max(0, (launcher.dragDistance * (stage.width - launcher.panelWidth) / stage.width) - launcher.panelWidth)
283+ Math.max(0, (launcher.dragDistance * (stage.width - launcher.panelWidth) / stage.width) - launcher.panelWidth)
283
284
284 applicationManager: ApplicationManager
285 applicationManager: ApplicationManager
285 topLevelSurfaceList: topLevelSurfaceList
286 topLevelSurfaceList: topLevelSurfaceList
@@ -318,7 +319,6 @@ StyledItem {
318 leftMargin: shell.usageScenario == "desktop" && !settings.autohideLauncher ? launcher.panelWidth: 0
319 leftMargin: shell.usageScenario == "desktop" && !settings.autohideLauncher ? launcher.panelWidth: 0
319
320
320 // TODO: this is not implemented yet in the new stage...
321 // TODO: this is not implemented yet in the new stage...
321− inverseProgress: !greeter || greeter.locked || !tutorial.launcherLongSwipeEnabled ? 0 : launcher.progress
322 altTabPressed: physicalKeysMapper.altTabPressed
322 altTabPressed: physicalKeysMapper.altTabPressed
323 oskEnabled: shell.oskEnabled
323 oskEnabled: shell.oskEnabled
324 }
324 }
tests/qmltests/Stage/tst_PhoneStage.qml+3−3
@@ -270,8 +270,8 @@ Item {
270
270
271 function test_select_data() {
271 function test_select_data() {
272 return [
272 return [
273−// { tag: "0", index: 0 },
273+ { tag: "0", index: 0 },
274−// { tag: "2", index: 2 },
274+ { tag: "2", index: 2 },
275 { tag: "4", index: 4 },
275 { tag: "4", index: 4 },
276 ]
276 ]
277 }
277 }
@@ -286,7 +286,7 @@ Item {
286 performEdgeSwipeToShowAppSpread();
286 performEdgeSwipeToShowAppSpread();
287
287
288 print("tapping", selectedAppDeleage.appId, selectedAppDeleage.visible)
288 print("tapping", selectedAppDeleage.appId, selectedAppDeleage.visible)
289− if (!selectedAppDeleage.x > stage.width - units.gu(5)) {
289+ if (selectedAppDeleage.x > stage.width - units.gu(5)) {
290 touchFlick(stage, stage.width - units.gu(2), stage.height / 2, units.gu(2), stage.height / 2, true, true, units.gu(2), 10)
290 touchFlick(stage, stage.width - units.gu(2), stage.height / 2, units.gu(2), stage.height / 2, true, true, units.gu(2), 10)
291 }
291 }
292
292