Closed socramm9 closed 1 year ago
Just in case, which super_drag_and_drop version is this with?
I Testet it with super_drag_and_drop: ^0.5.0
and the Previous version
Well, this is very disappointing. Turns out that outlook doesn't support IDataObjectAsyncCapability
for attachments. I'd expect outlook being a flag ship product having stellar drag & drop implementation but it can't even download attachments in background :-/. Or, for that matter, set proper drag avatars. Quite sad.
Nonetheless, super_drag_and_drop
needs to handle this properly.
I am still getting the same issue. Do I have to change anything else? I am on Windows 10 If it helps.
I am installing directly from GitHub
super_drag_and_drop:
git:
url: https://github.com/superlistapp/super_native_extensions.git
path: super_drag_and_drop
What revision are you at (check pubspec.lock)?
It looks like this after I changed to git version:
I think you need to add dependency_override
for super_native_extensions
nad also set it to git (current revision). Otherwise it will use the old (currently published) version of super_native_extensions.
I'm hoping to publish and updated version soon though.
I updated to 0.6.4 and still get this error:
2023-08-24T15:26:49.813Z ERROR [] Unexpected error Ungültige FORMATETC-Struktur (0x80040064) at src.\win32\drop.rs:488:22
That error is normal for outlook. It is only concerning the drop preview, which is not working for outlook in any application.
This is not related in any way to actually reading the dropped data. It's the other error that you initially got:
error PlatformException(super_native_extensions_error, "Windows Error: An interface marshaled for a different thread was called by the application. (0x8001010E)", otherError, null)
That was relevant to data receiving. Are you unable to read the stream?
Thanks for the info. I will check my code and let you know
I could fix it now had to change my code for reading Virtual Files :)
Thanks for the great help
I am trying to drag and drop A file from Microsoft Outlook into my Flutter app. But I a receiving a strange error message.
Example Code:
Error Message that I get:
ERROR [] Unexpected error Ungültige FORMATETC-Struktur (0x80040064) at src\.\win32\drop.rs:487:22
error PlatformException(super_native_extensions_error, "Windows Error: Eine Schnittstelle, die für einen anderen Thread marshalled war, wurde von der Anwendung aufgerufen. (0x8001010E)", otherError, null)
Translation:
ERROR [] Unexpected error Invalid FORMATETC structure (0x80040064) at src\.\win32\drop.rs:487:22
error PlatformException(super_native_extensions_error, "Windows Error: An interface marshaled for a different thread was called by the application. (0x8001010E)", otherError, null)
It works fine if Drag and Dropped from Explorer and on MacOs it works fine also for outlook.
Please let me know if I can Provide further information