Это работает в 11.10: добавьте ту же строку, а не в «activateHome», поставьте ее «Соединения»:
Connections {
target: dashView
onActiveChanged: {
if (!dashView.active) {
/* FIXME: currentPage needs to stop pointing to pageLoader.item
that is about to be invalidated otherwise a crash
occurs because SearchEntry has a binding that refers
to currentPage and tries to access it.
Ref.: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/817896
https://bugreports.qt.nokia.com/browse/QTBUG-20692
*/
deactivateActiveLens()
currentPage = undefined
pageLoader.source = ""
}
dashView.dashMode = DashDeclarativeView.FullScreenMode //THIS IS THE NEW LINE
}
}