Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/compose
Markus Unterwaditzer 6e6cf05d11
Remove garbage alt text from images attached via Gboard (#4068)
Steps to reproduce:

1. install Gboard

(https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin)

2. open a direct link to any image in Firefox
3. long-press the image to get a "Copy Image" dialogue (and copy the
   image)
4. compose a new post in Tusky
5. Gboard will suggest to paste the image from clipboard
6. paste image, see that when opening alt text editor, it is filled out
   with this garbage string

Why is this bad? It's not when I just fix the alt text. But it breaks
every mechanism that is supposed to remind me of adding alt text.

It's hard to argue that this is within scope of Tusky but I also don't
see it getting fixed in Gboard, so here we go.
2023-10-25 12:52:42 +02:00
..
dialog 4063: Make dialog size more stable (#4066) 2023-10-25 11:59:59 +02:00
view Correct the calculations for choosing the earliest day to show in the calendar / selected day (#3923) 2023-08-07 19:30:08 +02:00
ComposeActivity.kt Remove garbage alt text from images attached via Gboard (#4068) 2023-10-25 12:52:42 +02:00
ComposeAutoCompleteAdapter.kt modernize autocomplete (#2510) 2022-05-17 19:55:37 +02:00
ComposeTokenizer.kt update Kotlin to 1.7.10 and fix some (new?) warnings (#2647) 2022-08-07 19:36:09 +02:00
ComposeViewModel.kt Fix lint warnings (#4019) 2023-09-13 09:20:53 +02:00
ImageDownsizer.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
MediaPreviewAdapter.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
MediaUploader.kt Fix lint warnings (#4019) 2023-09-13 09:20:53 +02:00