VirtualBox

Changes between Version 15 and Version 16 of DnDDebug


Ignore:
Timestamp:
Jan 5, 2023 9:44:28 AM (16 months ago)
Author:
pentagonik
Comment:

Update on drag'n drop issue debugging.

Legend:

Unmodified
Added
Removed
Modified
  • DnDDebug

    v15 v16  
    33Handling drag and drop operations across various host and guest OS combinations is a difficult and time sensitive topic. To diagnose your problem further we need you to run your VirtualBox installation with several adjustments being made. The adjustments affect the host operating system as well as the guest you want to use for this drag and drop operation.
    44
    5 '''First note:''' Drag and drop support only is available for '''VirtualBox 5.0 and newer'''. Older versions of VirtualBox only had experimental support and therefore are not supported.
     5== Requirements ==
    66
    7 '''Second note:''' The guest needs to have the !VirtualBox Guest Additions installed in order to perform drag and drop operations from/to the host. Without Guest Additions drag and drop will not work!
     7* Drag and drop support only is available for '''VirtualBox 5.0 and newer'''. Older versions of VirtualBox only had experimental support and therefore are not supported.
     8* The guest needs to have the !VirtualBox Guest Additions installed in order to perform drag and drop operations from/to the host. Without Guest Additions drag and drop will not work!
     9* Drag and drop is disabled by default on newly created VMs. To enable drag and drop support, go to the VM's "Devices" menu, open "Drag and drop" and select the appropriate mode you want to use.
    810
    9 '''Third note:''' Drag and drop is disabled by default on newly created VMs. To enable drag and drop support, go to the VM's "Devices" menu, open "Drag and drop" and select the appropriate mode you want to use.
    10 
    11 Please also be aware that drag and drop (DnD) support at the moment only is available for the official "!VirtualBox Manager" frontend. If you do use other frontends (such as VBoxHeadless or VBoxSDL) then this guide will '''not''' work for you.
     11Note: Please also be aware that drag and drop (DnD) support at the moment only is available for the official "!VirtualBox Manager" frontend. If you do use other frontends (such as VBoxHeadless or VBoxSDL) then this guide will '''not''' work for you.
    1212
    1313== Collecting information from the host ==
     
    4646Collecting drag and drop debug information on the guest is similar to collecting it on the host. For that also system-wide environment variables need to be set on the guest (not on the host!).
    4747
    48 === For Linux, BSD or Solaris guests, do the following: ===
     48=== Linux, BSD or Solaris guests ===
    4949
    5050 * Make sure you at least have the !VirtualBox Guest Additions 5.0 or higher installed.
     
    6969}}}
    7070
    71 === For Windows guests, do the following: ===
     71=== Windows guests ===
    7272
    73  * Make sure you at least have the !VirtualBox Guest Additions 5.0 or higher installed.
     73 * Make sure you at least have the !VirtualBox Guest Additions 6.1 or higher installed.
    7474 * Create the directory "C:\Temp" on the guest if it does not exist yet.
    75  * Open an command line prompt as Administrator and execute:
     75 * Open the task manager and make sure VBoxTray.exe is **not** running anymore (kill VBoxTray.exe if needed).
     76 * Open a command line prompt and execute:
    7677{{{
    77 setx VBOXTRAY_RELEASE_LOG_FLAGS "time tid thread" /M
    78 setx VBOXTRAY_RELEASE_LOG "guest_dnd.e.l.l2.l3.f" /M
    79 setx VBOXTRAY_RELEASE_LOG_DEST "file=C:\Temp\VBoxTray.log" /M
     78VBoxTray.exe -vvvv --logfile c:\temp\VBoxTray.log
    8079}}}
    81  * Reboot the guest.
    8280 * Perform and reproduce the faulty drag and drop operation (from host to guest or guest to host).
    8381
     
    8785}}}
    8886
    89 === Troubleshooting ===
     87== FAQ / Troubleshooting ==
    9088
    9189||='''Question''' =||='''Answer''' =||
     90||VBox.log does not contain and verbose drag'n drop output.|| \
     91||Make sure that the VBoxSVC (VBoxSVC[.exe]) and VM (VirtualBoxVM[.exe]) processes inherited **all** VBOX_RELEASE_LOG_XXX environment variables. Try restarting the host if they don't. ||
     92||VBoxTray.log does not contain and verbose drag'n drop output.|| \
     93||Make sure that VBoxTray was started manually with the parameters specified above and that the log output directory is accessible for VBoxTray. ||
    9294||The command '''setx''' does not work on my Windows guest or host. What to do?|| \
    9395||Older Windows operating systems (such as Windows XP) don't have the command '''setx''' available. You have to install the "Windows XP Support Tools" first: [http://www.microsoft.com/en-us/download/details.aspx?id=18546 Download]||
    9496
    95 == Ok, all done! What now? ==
     97== Collecting and supplying the log files ==
    9698
    9799Please collect the VBox.log from the host and the guest (either VBoxClient.log or VBoxTray.log, depending on which guest you are running), pack those (ZIP, RAR) into an archive and submit that archive as part of a new bug report at our [https://www.virtualbox.org/wiki/Bugtracker public bug tracker].

© 2023 Oracle
ContactPrivacy policyTerms of Use