on xenial help sign in
There's no spreadDelegate_ anymore

Goes from ~9 to ~3 minutes

commit86bba405ed1e718c0df65aae3c32b5a1dcbc8b41 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 5 Jan 2017, 11:09 (10 years ago) parentc73be7a
1 file changed+1−6
tests/qmltests/tst_OrientedShell.qml+1−6
tests/qmltests/tst_OrientedShell.qml+1−6
@@ -1365,12 +1365,7 @@ Rectangle {
13651365 }
13661366
13671367 function findAppWindowForSurfaceId(surfaceId) {
1368− // for PhoneStage and TabletStage
1369− var delegate = findChild(shell, "spreadDelegate_" + surfaceId);
1370− if (!delegate) {
1371− // for DesktopStage
1372− delegate = findChild(shell, "appDelegate_" + surfaceId);
1373− }
1368+ var delegate = findChild(shell, "appDelegate_" + surfaceId);
13741369 verify(delegate);
13751370 var appWindow = findChild(delegate, "appWindow");
13761371 return appWindow;