lochidev / Expandroid

Text expander for android - with espanso config import/export
Other
140 stars 6 forks source link

App not working in certain fields #16

Open toohazy opened 7 months ago

toohazy commented 7 months ago

The text expansion feature doesn't work in some apps, I can't see anything in common between the affected apps, but I'm probably too not know what to look for.

Examples of apps where text expansion doesn't work:

lochidev commented 7 months ago

yeah, the app only works on EditText elements, https://developer.android.com/reference/android/widget/EditText

I will keep an eye out to see if I can fix some stuff

00apm commented 6 months ago

+1 this feature is essential Your app is very useful! It would be great if this could be fixed

Other apps where text expansion doesn't work:

lochidev commented 5 months ago

@00apm @toohazy Unfortunately, the only way around this is by having a floating EditText widget. See: https://f-droid.org/en/packages/genius.mohammad.floating.stickies/

So I think the best thing I could do is to bake something like what the above app does, into my app. So basically whenever, text expansion doesn't work, you'll have to type in the floating window and the expanded text will automatically be copied to your clipboard so you can paste that in, say, the YouTube search bar. Before I code this however I would like community feedback.

Obviously, you can use the above app or similar ones today itself, the only addition would be, => Automatic copying of the expanded text to your clipboard, saving you an extra selection & touch.

Thank you!

lochidev commented 5 months ago

Personally, I think since floating window apps already exist, I don't see any point of integrating that into my app, just to save one click. So looking for feedback.

To clarify why text expansions don't work on some apps, that's because they don't emit accessibility events when text is typed on them. They are probably using custom rendering systems (games using OpenGL, apps using Skia)