-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
WinForms: DataObject malfunction #1927
Comments
Also, is the "shell drag and drop" documented anywhere? I'm not sure the point of it, it seems like I also need to set WindowsControl.UseShellDropManager to false in order for drag-and-drop to work. |
The shell drag and drop is used so you can have drag images and have a tooltip like how the File Explorer drag/drop works. Thanks for reporting the issue! What control(s) are you dragging/dropping with where it doesn't work? |
I had drag implemented on items in a embedded control (System.Windows.Forms.ListView). I guess that might not be supported with the shell drag and drop? |
But in any case, there still seems to be the issue with the data object (I wanted to use the Eto version for unified Clipboard/drag-and-drop handling). Though I can work around that with creating the handler manually if needed. |
Hm, yeah that might not be working.. but it should be compatible with standard drag/drop so it's probably a bug. As for the original issue that can certainly be fixed. |
Setting data on an Eto DataObject has no apparent effect - subsequent gets return null. This applies to all methods (SetString, SetObject, SetData, etc.).
This seems related to 1b32e67 which creates a custom internal data object in the default constructor.
Creating with a normal data object works as expected:
Specifications
The text was updated successfully, but these errors were encountered: