Comment 3 for bug 1183113

Revision history for this message
MichaƂ Sawicz (saviq) wrote :

(I'm off until Monday, btw...)

Hey ricmm, so what is it that we need to do in the shell still? I have a preliminary diff that unfocuses (but not refocuses yet) the app on greeter shown:

=== modified file 'Shell.qml'
--- Shell.qml 2013-05-28 08:38:45 +0000
+++ Shell.qml 2013-05-31 08:30:45 +0000
@@ -353,7 +353,12 @@
         width: parent.width
         height: parent.height - panel.panelHeight

- onShownChanged: if (shown) greeter.forceActiveFocus()
+ onShownChanged: {
+ if (shown) {
+ greeter.forceActiveFocus()
+ applicationManager.unfocusCurrentApplication();
+ }
+ }

         onUnlocked: greeter.hide()
         onSelected: {