@@ -367,20 +367,19 @@ Item {
367 id: tutorial
367 id: tutorial
368 objectName: "tutorial"
368 objectName: "tutorial"
369 anchors.fill: parent
369 anchors.fill: parent
370− active: AccountsService.demoEdges
371− paused: LightDM.Greeter.active
374− edgeSize: shell.edgeSize
376 // EdgeDragAreas don't work with mice. So to avoid trapping the user,
371 // EdgeDragAreas don't work with mice. So to avoid trapping the user,
377− // we'll tell the tutorial to avoid using them on the Desktop. The
372+ // we skip the tutorial on the Desktop to avoid using them. The
378 // Desktop doesn't use the same spread design anyway. The tutorial is
373 // Desktop doesn't use the same spread design anyway. The tutorial is
379 // all a bit of a placeholder on non-phone form factors right now.
374 // all a bit of a placeholder on non-phone form factors right now.
380 // When the design team gives us more guidance, we can do something
375 // When the design team gives us more guidance, we can do something
381 // more clever here.
376 // more clever here.
382− // TODO: use DeviceConfiguration instead of checking source
377+ active: usageScenario != "desktop" && AccountsService.demoEdges
383− useEdgeDragArea: applicationsDisplayLoader.source != Qt.resolvedUrl("Stages/DesktopStage.qml")
378+
379+ paused: LightDM.Greeter.active
382+ edgeSize: shell.edgeSize
385 onFinished: {
384 onFinished: {
386 AccountsService.demoEdges = false;
385 AccountsService.demoEdges = false;