Open r10s opened 9 months ago
works for me in macOS 14, though I can not exactly reproduce the scanning part, maybe it is a special state?
BTW while testing it I noticed that drag and drop of selected text does not work, while it works in vscode and even from notes to vscode, so it seems possible, but out of scope for us for now.
though I can not exactly reproduce the scanning part
long-tap the "Notes" App icon on the ios homescreen and hit "Scan Document" - if you're using the same apple account on macos and ios, you get the scan on macos.
however, this was just one example i figured out to make the issue reproducible. i have seen that randomly before as well and there may be also other cases where it happens.
Really seems to be sth when the file does not exist in apple's filesystem. not sure what the format then is, but I was not able to get the state yet, maybe I could get it when I connect the same Apple IDs on iPhone and macOS, but currently I don't want to do that.
please reopen if this is still an issue in new versions (macOS and deltachat desktop / electron).
i just retried on macos 14.5 with Delta Chat 1.46.1, it is still an issue and exactly reproducible in the same way as shown in the initial post.
maybe I could get it when I connect the same Apple IDs on iPhone and macOS, but currently I don't want to do that.
i think, this is needed for reproducing the way shown above.
there may be other ways for reproducing that do not require connection, but we do not know them (i expect the clipboard just to have some other format for a file that is not present in the filesystem yet)
however, if it is really only about the "Notes" app, it also seems fine to put that to resurrection and close it as "Not Fixed" - if we have a similar issue for other clipboard formats, we will remember
I bet this is an electron issue. I guess you could add a log statement in the drop handler and inspect the dev console if there is anything useful in it, if not then we can close it as won't fix.
to test add a log statement (console.info('dropped something', e)
) to log the drop event e
here:
then look at the log to check if there is sth useful in e and post it in this thread.
sometimes, drag'n'drop is unreliable and is just not working, took me quite some time to make this reproducible.
but here is an approach on macos13.6 with deltachat1.42.0:
testing with other apps (as "Apple Mail" or "Find") drag'n'drop works already at step 2. - and doing that once, this also enables things to work with "Delta Chat". "Thunderbird" has the same bug, btw
maybe the format drag'n'drop offers changes once the file is exported or otherwise used - and that "Delta Chat" only supports one format.
video showing steps 1. to 4.:
https://github.com/deltachat/deltachat-desktop/assets/9800740/76470a21-831f-41d0-b8ac-d941bcd234d6