twofas / 2fas-android

Source code for 2FAS Android app
GNU General Public License v3.0
905 stars 66 forks source link

Enter secret key/Pair the service with 2FAS screen makes pasting difficult, inconsistently #76

Open Tipoff4317 opened 11 months ago

Tipoff4317 commented 11 months ago

Description

In the "Enter secret key"/"Pair the service with 2FAS" screen, when you press-hold-and-release on a text entry field (same problems with Service name, Secret Key, and Additional info fields), the "Paste" option only shows briefly, sometimes making it impossible to hit it in time. The period that the "Paste" option shows is variable, sometimes very short, sometimes long enough to hit it, but it always disappears. The "very short" showing sometimes happens repeatedly, making it annoying to enter the data this way.

For this particular workflow, maybe the "Paste" should show until dismissed. Maybe it should show with other options, like "clipboard", which are often available on Android text entry fields.

Steps to produce the problem

1) On the Tokens list, hit the "+" button 2) "Enter secret key" 3) Press-hold-and-release on a text entry field 4) The "Paste" option appears briefly and disappears

Setups

Screen recording

https://github.com/twofas/2fas-android/assets/17734927/0c58468d-c863-4310-8dc0-c2154feb9dec

rafakob commented 11 months ago

Thanks, this one is weird. The "Paste/Copy" popups are controlled by system, I will take a look why it's disappearing.