deltachat-ios
deltachat-ios copied to clipboard
Delta Chat pasted from …
If I have something in my clipboard from any other app, even if it's just text from Safari or Notes, but also any other kind of data, I get these messages constantly as soon as I enter Delta Chat. Several in a row until the originating app swaps out.

It comes across as if Delta Chat were snooping on the clip board + it's annoying + it's wasteful (in this case it's a 3d scene with tons of polygons and rigs and angles).
@snan I cannot reprocudce that behavior. Also I'm not sure where this text comes from. It's not part of our sources. These 'Toasts' look almost like Android UI, it's weird. I tried it with an iOS 15.4, iPhone7
Can you give more details about iOS version, device and maybe you have another app in mind that might interfere (e.g. a clipboard app)?
This is on iPad OS 15.5!
On iPad OS 16.1, the problem is both better and much worse.
Because on this version, at least with lockdown mode on, it asks to confirm each paste. This means that using Delta Chat with something in the pastebuffer pops up a ton of such questions. (The workaroudn is to copy something from inside Delta Chat itself.)
Because on this version, at least with lockdown mode on, it asks to confirm each paste
so, if "lockdown mode" is turned off, the message is not shown?
i just tried "lockdown mode" with an iphone13 and ios 16.1.2 and things look good to me, we are still lacking a way to reproduce this (i currently have no ipad at hand :)
so, might be related to ipad+lockdown mode only, maybe this is even regarded as a feature from apple?
I'm still getting it and I was getting it before I applied lockdown mode too.
Only difference is that it used to be "Delta Chat pasted from Safari" and now there's a dialog where I can deny it (although that dialog keeps popping up).
thanks for coming back - so we have to check if that happens on ipad only.
I've now managed to reproduce on 16.2.
I copy a link from Safari, paste it into Blink, switch to Delta Chat and then Delta Chat wants to read that paste.
Maybe went away on 16.2? 🤷🏻♀️
i was testing using 16.1.2 :)
Yes, and I could reproduce on 16.1.2
i just reviewed the UIPasteboard.general code while checking https://github.com/deltachat/invite/issues/16 - we're doing at some places UIPasteboard.general.image != nil where we better should do UIPasteboard.general.hasImages according to https://developer.apple.com/documentation/uikit/uipasteboard - still weird that this is not an issue on all ios versions