deltachat / deltachat-android

Email-based instant messaging for Android.
GNU General Public License v3.0
1.11k stars 146 forks source link

wrong error message on inserting things from "Image keyboards" #1948

Closed r10s closed 1 year ago

r10s commented 3 years ago

when inserting eg. stickers from an "Image keyboard" (eg. gboard which is shipped with at least some systems), after the sticker is inserted successfully, the image keyboard shows a toast with the error "Delta Chat doesn't support image insertion here":

the issue is true with or without https://github.com/deltachat/deltachat-android/pull/1947.

not sure, what we are doing wrong here, searching a bit, for doesn't support image insertion here , other apps seems to have similar problems. might be, it is related to some versions of gboard only.

https://stackoverflow.com/questions/49782842/google-keyboard-insert-image-send-intent-weirdness advice is to ignore SEND intents, however, i could not make much sense of that at a first glance.

Telegram, however, does not have the problem, i did not tested Signal/Whatsapp (cannot install currently - no spare SIM card :)

r10s commented 3 years ago

@adbenitez reported at https://github.com/deltachat/deltachat-android/pull/1947#issuecomment-857190174 that stock Samsung keyboard and with AnySoftKeyboard do not have that toast. so, it seems to be an issue only with some keyboards in some versions, maybe that is not fixable by us.

ghost commented 1 year ago

@r10s I tried with Microsoft keyboard, Google keyboard, OpenBoard, AnySoftKeyboard, EweSticker and the problem does not occur (DC Android 1.34.12)

r10s commented 1 year ago

thanks for checking, then this is maybe only very few keyboards and affected devices. let's close this anyway stale issue, it seems not to be worth investigating further.