VirtualBox

Ignore:
Timestamp:
Jan 5, 2023 1:39:57 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Improving release logging for sltPerformGuestResize; This should make it more clear why one or another request to resize was rejected early in the GUI.

File:
1 edited

Legend:

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

    r97978 r97998  
    369369        /* Do not send a hint if nothing has changed to prevent the guest being notified about its own changes: */
    370370        if (fSendHint && (int)frameBuffer()->width() == size.width() && (int)frameBuffer()->height() == size.height())
     371        {
     372            LogRel(("GUI: UIMachineView::sltPerformGuestResize: Omitting to send size-hint %dx%d to guest-screen %d "
     373                    "because frame-buffer is already of the same size.\n", (int)screenId(), size.width(), size.height()));
    371374            fSendHint = false;
     375        }
    372376        /* Do not send a hint if GA supports graphics and we have sent that hint already: */
    373377        if (fSendHint && uisession()->isGuestSupportsGraphics() && m_lastSizeHint == size)
     378        {
     379            LogRel(("GUI: UIMachineView::sltPerformGuestResize: Omitting to send size-hint %dx%d to guest-screen %d "
     380                    "because this hint was previously sent.\n", (int)screenId(), size.width(), size.height()));
    374381            fSendHint = false;
     382        }
    375383        if (fSendHint)
    376384        {
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