VirtualBox

Changeset 56138 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 28, 2015 2:31:56 PM (10 years ago)
Author:
vboxsync
Message:

Logging.

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

Legend:

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

    r56075 r56138  
    197197
    198198    /*
    199      * Since the mouse button has been release this in any case marks 
    200      * the end of the current transfer direction. So reset the current 
    201      * mode as well here. 
    202      */ 
     199     * Since the mouse button has been release this in any case marks
     200     * the end of the current transfer direction. So reset the current
     201     * mode as well here.
     202     */
    203203    m_enmMode = DNDMODE_UNKNOWN;
    204204
     
    318318#ifdef VBOX_WITH_DRAG_AND_DROP_GH
    319319
    320     LogFlowFunc(("enmMode=%RU32, m_fIsPending=%RTbool, screenID=%RU32\n", m_enmMode, m_fIsPending, screenID));
     320    LogFlowFunc(("enmMode=%RU32, fIsPending=%RTbool, screenID=%RU32\n", m_enmMode, m_fIsPending, screenID));
    321321
    322322    {
     
    351351    QVector<KDnDAction> vecActions;
    352352    KDnDAction defaultAction = m_dndSource.DragIsPending(screenID, vecFmtGuest, vecActions);
    353     LogFlowFunc(("defaultAction=%d, numFormats=%d\n", defaultAction, vecFmtGuest.size()));
     353    LogFlowFunc(("defaultAction=%d, numFormats=%d, numActions=%d\n", defaultAction,
     354                 vecFmtGuest.size(), vecActions.size()));
    354355
    355356    QStringList lstFmtNative;
    356357    if (defaultAction != KDnDAction_Ignore)
    357358    {
     359        LogRel3(("DnD: Number of supported guest actions: %d\n", vecActions.size()));
     360        for (int i = 0; i < vecActions.size(); i++)
     361            LogRel3(("\tAction %d: 0x%x\n", i, vecActions.at(i)));
     362
    358363        /**
    359364         * Do guest -> host format conversion, if needed.
     
    363368         * See: https://www.iana.org/assignments/media-types/media-types.xhtml
    364369         */
    365         LogRel3(("DnD: Number of guest formats: %d\n", vecFmtGuest.size()));
     370        LogRel3(("DnD: Number of supported guest formats: %d\n", vecFmtGuest.size()));
    366371        for (int i = 0; i < vecFmtGuest.size(); i++)
    367372        {
     
    392397        }
    393398
    394         LogRel3(("DnD: Number of native formats: %d\n", lstFmtNative.size()));
     399        LogRel3(("DnD: Number of supported host formats: %d\n", lstFmtNative.size()));
    395400        for (int i = 0; i < lstFmtNative.size(); i++)
    396401            LogRel3(("\tFormat %d: %s\n", i, lstFmtNative.at(i).toAscii().constData()));
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp

    r55821 r56138  
    127127     * operation state for us (based on the mouse buttons). */
    128128    if (m_enmState != Dropped)
     129    {
     130        LogFlowFunc(("Not yet in 'dropped' state, so can't drop yet\n"));
    129131        fCanDrop = false;
     132    }
    130133#endif
    131134
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