VirtualBox

Changeset 8654 in vbox for trunk/src


Ignore:
Timestamp:
May 7, 2008 1:11:22 PM (17 years ago)
Author:
vboxsync
Message:

2800 "FE/Qt: Switch to fullscreen does not work reliably" : Avoid waiting for 2 seconds then switching f/s mode in case of GA disabled.

File:
1 edited

Legend:

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

    r8628 r8654  
    683683             this, SLOT (doResizeHint()));
    684684
     685    /* This timer is used as 'last resort' which toggles f/s mode
     686       in case of guest additions are not responding. */
    685687    mToggleFSModeTimer = new QTimer (this);
    686688    connect (mToggleFSModeTimer, SIGNAL (timeout()),
     
    22512253        doResizeHint (newSize);
    22522254    }
    2253     mToggleFSModeTimer->start (2000, true);
     2255    /* Currently there is 2000 msec pause before timer transfers
     2256     * console into desired mode "if GA are active and auto-resize
     2257     * feature enabled" and 100 msec pause before it transfers
     2258     * console into this mode "if GA are not active or auto-resize
     2259     * feature disabled". 100 msec pause required for resizing
     2260     * before normalizing geometry. */
     2261    mToggleFSModeTimer->start (mIsAdditionsActive && mAutoresizeGuest ?
     2262        2000 : 100, true);
     2263
     2264    /// @todo (r=dsen) perform roll-back after 'entering' mode in case
     2265    //                 we got no resizing response from the guest.
    22542266}
    22552267
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