Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp	(revision 37991)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp	(revision 37992)
@@ -1211,4 +1211,10 @@
                 usedImages << medium.GetId();
         }
+        /* To that moment application focus already returned to machine-view,
+         * so the keyboard already captured too.
+         * We should clear application focus from machine-view now
+         * to let file-open dialog get it. That way the keyboard will be released too: */
+        if (QApplication::focusWidget())
+            QApplication::focusWidget()->clearFocus();
         /* Call for file-open window: */
         QString strMachineFolder(QFileInfo(machine.GetSettingsFilePath()).absolutePath());
