Remove panel visibility check from launcher
Trying to avoid race conditions, I wanted to prevent the launcher from
dismissing the Panel when the Shell was unlocked. Turns out the Panel is
*always* set to visible when unlocking, so the Launcher never shows.
Ref 00c396672f4bd1a2abec0f4bbddfd5d6e682df0e
commitd42c11074161911a746314a0c866ac048afafca7
authorDalton Durst <dalton@ubports.com>
dateTue 24 Dec 2019, 16:21 (7 years ago)
parent88ea43a
qml/Shell.qml+2−3
@@ -403,9 +403,8 @@ StyledItem {
403403 launcher.toggleDrawer(false);
404404 greeterLoader.toggleDrawerAfterUnlock = false;
405405 }
406− // Show the launcher when there are no running apps and the user
407− // isn't operating the panel
408− else if (topLevelSurfaceList.count < 1 && !panel.visible) {
406+ // Show the launcher when there are no running apps
407+ else if (topLevelSurfaceList.count < 1) {
409408 launcher.switchToNextState("visible")
410409 }
411410 }