on xenial help sign in
some focus improvements
99914cbMichael Zanetti
qml/Launcher/Launcher.qml+1
@@ -504,6 +504,7 @@ FocusScope {
504 if (distance > panel.width / 2) {
504 if (distance > panel.width / 2) {
505 if (distance > panel.width * 3) {
505 if (distance > panel.width * 3) {
506 root.switchToNextState("drawer")
506 root.switchToNextState("drawer")
507+ root.focus = true;
507 } else {
508 } else {
508 root.switchToNextState("visible")
509 root.switchToNextState("visible")
509 }
510 }
qml/Shell.qml+1−2
@@ -299,7 +299,6 @@ StyledItem {
299
299
300 interactive: (!greeter || !greeter.shown)
300 interactive: (!greeter || !greeter.shown)
301 && panel.indicators.fullyClosed
301 && panel.indicators.fullyClosed
302− && launcher.progress == 0
303 && !notifications.useModal
302 && !notifications.useModal
304
303
305 onInteractiveChanged: { if (interactive) { focus = true; } }
304 onInteractiveChanged: { if (interactive) { focus = true; } }
@@ -322,7 +321,7 @@ StyledItem {
322 topMargin: panel.panelHeight
321 topMargin: panel.panelHeight
323 leftMargin: launcher.lockedVisible ? launcher.panelWidth : 0
322 leftMargin: launcher.lockedVisible ? launcher.panelWidth : 0
324 }
323 }
325− z: notifications.useModal || panel.indicators.shown || wizard.active || tutorial.running || launcher.shown ? overlay.z + 1 : overlay.z - 1
324+ z: notifications.useModal || panel.indicators.shown || wizard.active || tutorial.running || (greeter.shown && launcher.shown) ? overlay.z + 1 : overlay.z - 1
326 }
325 }
327
326
328 Loader {
327 Loader {