Drag and Drop Not Working From Guest to Host (Working Host to Guest)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Billzargo
Posts: 3
Joined: 19. Oct 2019, 03:46

Drag and Drop Not Working From Guest to Host (Working Host to Guest)

Post by Billzargo »

I am having trouble getting drag and drop working from he guest to the host. The guest is Windows 10 Pro. Drag and drop from the host to the guest works fine. Drag and Drop is bidirectional and I have the correct additions and extensions installed for the version of VirtiualBox. I have created a folder with full read write permissions on the host and tried to drop into that and it still did not work. Does anyone know how to fix or diagnose the issue?

System::

Code: Select all

             `..---+/---..`                 
         `---.``   ``   `.---.`            ------------------ 
      .--.`        ``        `-:-.         OS: KDE neon User Edition 5.17 x86_64 
    `:/:     `.----//----.`     :/-        Host: Z390 AORUS MASTER 
   .:.    `---`          `--.`    .:`      Kernel: 5.0.0-31-generic 
  .:`   `--`                .:-    `:.     Uptime: 1 hour, 9 mins 
 `/    `:.      `.-::-.`      -:`   `/`    Packages: 2665 
 /.    /.     `:++++++++:`     .:    .:    Shell: bash 4.4.20 
`/    .:     `+++++++++++/      /`   `+`   Resolution: 5120x1440 
/+`   --     .++++++++++++`     :.   .+:   DE: KDE 
`/    .:     `+++++++++++/      /`   `+`   WM: KWin 
 /`    /.     `:++++++++:`     .:    .:    Theme: Breeze Dark [KDE], Breeze-Dark [GTK2/3] 
 ./    `:.      `.:::-.`      -:`   `/`    Icons: Breeze-dark [KDE], Breeze-dark [GTK2/3] 
  .:`   `--`                .:-    `:.     Terminal: konsole 
   .:.    `---`          `--.`    .:`      Terminal Font: Noto Mono 12 
    `:/:     `.----//----.`     :/-        CPU: Intel i9-9900K (16) @ 5.000GHz 
      .-:.`        ``        `-:-.         GPU: NVIDIA NVIDIA Corporation GV102 
         `---.``   ``   `.---.`            Memory: 3454MiB / 32093MiB 
             `..---+/---..` 
VirtualBox Version: v6.0.14 r133895 (Qt5.13.1)

Logs:

Code: Select all

00:01:49.208085 VMMDev: Guest Log: Starting service 'draganddrop' ...
00:01:49.225928 VMMDev: Guest Log: DnD: Drag and drop service successfully started
00:01:49.226254 VMMDev: Guest Log: Service 'draganddrop' started
00:01:49.226298 VMMDev: Guest Log: All services started
00:01:49.242132 VMMDev: Guest Additions capability report: (0x1 -> 0x5) seamless: yes, hostWindowMapping: no, graphics: yes
00:01:49.242188 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners
00:01:49.242236 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary
00:01:49.242249 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners
00:01:49.242255 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:01:49.242288 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners
00:01:49.242296 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:01:49.242340 VMMDev: Guest Log: Got multi resize request 1 displays
00:01:49.242379 VMMDev: Guest Log: [0]: 0 0x39 0,0 1803x1383 32
00:03:30.753654 VMMDev: Guest Log: DnD: Got 1 file(s), fUnicode=true 
00:03:30.753823 VMMDev: Guest Log: DnD: Adding guest file 'C:\Users\Bill\Desktop\test.ods'
00:03:58.347615 VMMDev: Guest Log: DnD: Got 1 file(s), fUnicode=true 
00:03:58.347660 VMMDev: Guest Log: DnD: Adding guest file 'C:\Users\Bill\Desktop\test.ods'
00:04:05.476928 VMMDev: Guest Log: DnD: Processing message 102 failed with VERR_WRONG_ORDER
00:04:05.823824 VMMDev: Guest Log: DnD: Processing message 102 failed with VERR_WRONG_ORDER
00:04:10.154630 VMMDev: Guest Log: DnD: Got 1 file(s), fUnicode=true 
00:04:10.154669 VMMDev: Guest Log: DnD: Adding guest file 'C:\Users\Bill\Desktop\blah.txt'
00:04:13.056962 VMMDev: Guest Log: DnD: Processing message 102 failed with VERR_WRONG_ORDER
00:04:13.562056 VMMDev: Guest Log: DnD: Processing message 102 failed with VERR_WRONG_ORDER
I got a little impatient and tried a few times so I think that is why the wrong order error occurred. Those files where not created on the guest.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Drag and Drop Not Working From Guest to Host (Working Host to Guest)

Post by socratis »

Just to be clear... DnD is finicky, at best. I personally avoid it and try to use Shared Folders (if available) or true network shares (SMB, NFS).

Second, partial logs are not that useful I'm afraid. We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe or recreate the problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Billzargo
Posts: 3
Joined: 19. Oct 2019, 03:46

Re: Drag and Drop Not Working From Guest to Host (Working Host to Guest)

Post by Billzargo »

Thanks socratis, I am no longer using KDE Neon and have gone back to Arch Linux.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Drag and Drop Not Working From Guest to Host (Working Host to Guest)

Post by socratis »

And that statement clarifies things... how exactly? Does that mean that you have DnD in Arch? Is the issue not valid anymore? Other?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Billzargo
Posts: 3
Joined: 19. Oct 2019, 03:46

Re: Drag and Drop Not Working From Guest to Host (Working Host to Guest)

Post by Billzargo »

Sorry socratis, reading back that does not clarify anything. I was just in a real hurry.

To explain, I will not be trying to get dnd working right now. It is not working in any direction in Arch and working as a software developer and in the process of getting multiple clients apps out to the app store and android play store I am very time poor. I did consider getting it working in KDE Neon but Arch I have no dnd direction working and may require extra time to get things working (But is a much better OS IMO and having the Arch AUR and not needing to (but can) deal with Snaps and Flatpak, but that is just my opinion...)

So I hope that clears things up and I do thank you for your reply and willingness to help.
Post Reply