Do not try notifyAppFocusRequested the greeter. That's impossible. Instead only try to realize the truth: There is no greeter.Then you'll see that it's not the greeter that notifyAppFocusRequesteds, it is only yourself.
commit44f033948c703518f980f827afe7f5161157aebe
authorJan Sprinz <neo@neothethird.de>
dateThu 5 Sep 2019, 12:24 (7 years ago)
parent50d1dd6
qml/Shell.qml+1−1
@@ -139,7 +139,7 @@ StyledItem {
139139 }
140140
141141 // *Always* make sure the greeter knows that the focused app changed
142− greeter.notifyAppFocusRequested(appId);
142+ if (greeter) greeter.notifyAppFocusRequested(appId);
143143 }
144144
145145 // For autopilot consumption