VirtualBox

Changeset 105577 in vbox


Ignore:
Timestamp:
Aug 2, 2024 1:00:01 PM (7 weeks ago)
Author:
vboxsync
Message:

FE/Qt: Ignore VBOX_E_NOT_SUPPORTED from IDisplay::TakeScreenShot as it normally means the screen size is 0x0, which is the initial start before the VM starts executing code. This avoid seriously annoying error pops when --starting-paused or using any of the --debug-xxxx options which implies that.

File:
1 edited

Legend:

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

    r105548 r105577  
    17531753        comDisplay.TakeScreenShot(uScreenId, pBits, uWidth, uHeight, enmFormat);
    17541754        fSuccess = comDisplay.isOk();
    1755         if (!fSuccess)
     1755        if (!fSuccess && comDisplay.rc() != VBOX_E_NOT_SUPPORTED) /* VBOX_E_NOT_SUPPORTED: screens size 0x0 can't be snapshotted */
    17561756            UINotificationMessage::cannotAcquireDisplayParameter(comDisplay);
    17571757    }
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