-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clipboard size limit? #26
Comments
Some interesting size_t/long/ulong conversions going off in here:
Shouldn't be the cause given the datatype sizes in play, but worth looking at generally... backdoor_call expects a ulong. Failing that, need to look into the copy function link between Haiku and this plugin... |
Called from within the AddonsTray C++ file here: VMwareAddons/vmware_tray/VMWAddOnsTray.cpp Line 179 in aed6f60
This uses std::size_t too though. So unless the clipboard message from Haiku is limited in length (seems unlikely...) there must be a logic/datatype issue in one of the above functions. |
Confirmed the bug occurs on Haiku Beta3 64 bit with Depot version of vmware addon (1.2.0-4) and Windows 10 host with VMware Workstation 16 Player. It copies 65221 characters only from Haiku to the Win10 host. Also confirmed a similar bug copying from a Win10 host to a Haiku Beta3 guest, but it copies up to 216636 characters |
I'm guessing that this is a VMwareAddons issue...
If I select a bunch of text in Haiku running in VMWare, copy it, and paste it on the macOS side, only 65,436 characters are pasted (which looks like it's getting close to a special number 😄 ).
(Haiku was installed from the Haiku R1/Beta2 x86_64 image and everything is up-to-date.)
The text was updated successfully, but these errors were encountered: