Open huanghe2015 opened 2 years ago
@huanghe The 2015 Ubuntu 22.04 graphical desktop defaults to Wayland. There are some know issues with DnD on Wayland that we are tracking internally. Until those issues are resolved, please try using the "Gnome on Xorg" option.
The switch between Wayland or X11 choice can be made from the Settings icon in the lower right corner of the Login screen. Make the selection before entering you password.
Please let us know if this helps.
Thanks for reminding, @johnwvmw . Can this issue be pinned until resolutions have?
This issue has been attached to the internal bug tracking UI issues with the Wayland desktop.
BTW, looks like the same happens on Debian 11 (Bullseye) with the Wayland desktop.
Another bug report:
Describe the bug When trying to drag and drop a file from Windows to Folder in Ubuntu 22.04 File Explorer, the file icon will be stuck on the screen, and pulling another will show a dialog box with “Unsupported drag operation, an invalid type of drag and drop used”.
Reproduction steps
Expected behavior
The file will be moved from host OS to guest OS The file will be shown on File Explorer.
Additional context - Environment
Host OS Windows 11 21H2 Build 22000.675 Windows Feature Experience Pack 1000.22000.675.0
Guest OS Ubuntu 22.04 desktop 5.15.0-33-generic
VMware version VMware® Workstation 16 Pro 16.2.3 build-19376536
Package List gnome/jammy 1:42+3 amd64 open-vm-tools-desktop/jammy,now 2:11.3.5-1ubuntu4 amd64 [installed] open-vm-tools/jammy,now 2:11.3.5-1ubuntu4 amd64 [installed]
env | grep -i wayland XDG_SESSION_TYPE=wayland XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.YB27M1 WAYLAND_DISPLAY=wayland-0
The 2015 Ubuntu 22.04 graphical desktop defaults to Wayland. There are some know issues with DnD on Wayland that we are tracking internally. Until those issues are resolved, please try using the "Gnome on Xorg" option.
@johnwvmw The same issue exist with "Ubuntu on Xorg" session.
Using "Ubuntu on Xorg" work around worked for me.
VM: Ubuntu 22.04 (clean install from ISO + apt upgrade
)
VMware Fusion 12.2.4, Intel macOS
I disabled Wayland in the configs so that only Xorg is used as I enabled Autologin on this VM. After rebooting DnD was working again, with small files (ca. 50kb) as well as with bigger once ( >1GB ).
The reference I used:
https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop
I also disabled Wayland on Ubuntu by following the last instructions from @ChaserCiC and it fixed my drag and drop problems on VMware Workstation 16 Pro running on a Windows 11 Pro host with a Ubuntu 22.04 desktop guest :-)
The same behavior can be reproduced in openSUSE Tumbleweed using GNOME.
2015 Ubuntu 22.04图形桌面默认为Wayland。我们正在内部跟踪Wayland上的DnD的一些已知问题。在这些问题得到解决之前,请尝试使用“Xorg上的侏儒”选项。
Wayland 或 X11 选项之间的切换可以从登录屏幕右下角的设置图标进行。在输入密码之前进行选择。
如果有帮助,请告诉我们。
Using your method, I can move files in the folder, but I can't move files between the desktop and the host, Are you same?
@johnwvmw Is there any news on the internal ticket?
Ubuntu 22.04 introduced better UI performance with Wayland. Switching back to Xorg makes these performance improvements unusable, although that way Drag&Drop will work again.
I have pinged the hosted UI team on the internal ticket - again.
Can you list the UI performances that you see in Wayland that are not there with Xorg?
Thanks.
Hi, it seems like this issue has not been resolved yet. Just wanted to bump it up to bring it back into the developer's attention.
@RunpengNie - As per the latest update on https://github.com/vmware/open-vm-tools/issues/614, the work is scheduled and there appears to be some traction. (Both this issue and 614 are attached to the same bug internally.)
sudo apt-get install open-vm-tools-*
Broken on Ubuntu 24.04 😕
顺便说一句,看起来同样的情况也发生在 Debian 11 (Bullseye) 和 Wayland 桌面上。
the same as Debian12
Can you list the UI performances that you see in Wayland that are not there with Xorg?
@johnwvmw After reading a bit about the subject, it seems that one significant factor contributing to improved UI performance in Ubuntu 22.04 could be the implementation of triple buffering: https://discourse.ubuntu.com/t/why-ubuntu-22-04-is-so-fast-and-how-to-make-it-faster/30369
As far as I understand, to make it work one has the best chance of using Wayland. Not sure how it is translating to a VM UI performance.
Describe the bug
When trying to drag and drop a file from Windows to Folder in File Explorer, the file icon will be stuck on the screen, and pulling another will show a dialog box with “Unsupported drag operation, an invalid type of drag and drop used”.
Reproduction steps
Expected behavior
The file will be shown on File Explorer.
Additional context
Environment
Host OS
Windows 10 LTSC 2019
Guest OS
Ubuntu 22.04
VMware version
VMware® Workstation 16 Pro 16.1.2 build-17966106
Package List
open-vm-tools-desktop/jammy,now 2:11.3.5-1ubuntu4 amd64 [已安装] open-vm-tools-sdmp/jammy,now 2:11.3.5-1ubuntu4 amd64 [已安装] open-vm-tools/jammy,now 2:11.3.5-1ubuntu4 amd64 [已安装,自动]