Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp	(revision 54094)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp	(revision 54095)
@@ -1487,7 +1487,8 @@
     LONG *pCodes = aCodesBuffer;
     uint uCodesCount = 0;
+    uint8_t uWhatPressed = fFlags & KeyExtended ? IsExtKeyPressed : IsKeyPressed;
     if ((!m_bIsHostComboPressed && !isHostComboStateChanged) ||
         ( m_bIsHostComboPressed &&  isHostComboStateChanged) ||
-        !(fFlags & KeyPressed))
+        (!(fFlags & KeyPressed) && (m_pressedKeys[uScan] & uWhatPressed)))
     {
         /* Special flags handling (KeyPrint): */
