VirtualBox

Changeset 63899 in vbox


Ignore:
Timestamp:
Sep 19, 2016 4:58:04 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:7846: Runtime UI: Fixing regression of r110260 where the keyboard code-flow was simplified to omit the machine-view (if possible) while required separate UI workaround was forgotten in machine-view.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r63779 r63899  
    12151215        case WM_SYSKEYUP:
    12161216        {
     1217            // WORKAROUND:
     1218            // Can't do COM inter-process calls from a SendMessage handler,
     1219            // see http://support.microsoft.com/kb/131056.
     1220            if (vboxGlobal().isSeparateProcess() && InSendMessage())
     1221            {
     1222                PostMessage(pMsg->hwnd, pMsg->message, pMsg->wParam, pMsg->lParam);
     1223                fResult = true;
     1224                break;
     1225            }
     1226
    12171227            /* Check for our own special flag to ignore this event.
    12181228             * That flag could only be set later in this function
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r63864 r63899  
    19781978        {
    19791979            // WORKAROUND:
    1980             // Can't do COM inter-process calls from a SendMessage handler,
    1981             // see http://support.microsoft.com/kb/131056.
    1982             if (vboxGlobal().isSeparateProcess() && InSendMessage())
    1983             {
    1984                 PostMessage(pEvent->hwnd, pEvent->message, pEvent->wParam, pEvent->lParam);
    1985                 return true;
    1986             }
    1987 
    1988             // WORKAROUND:
    19891980            // There is an issue in the Windows Qt5 event processing sequence
    19901981            // causing QAbstractNativeEventFilter to receive Windows native events
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette