ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.29k stars 110 forks source link

Software Keyboard over Simcard Unlock Screen prevents Simcard Unlock #1404

Open FPfabi opened 4 years ago

FPfabi commented 4 years ago

Bug Report:

Steps to reproduce

Phone must be with Lockscreen PIN set Switch on phone, and once Lock Screen appears emediately try to type your PIN The software keyboard will appear, but after a delay the phone asks for the SIM unlock PIN. This cannot be typed in anymore, because the software Keyboard overlays the "0" and confirm buttons.

Expected behavior

When the phone detects that the Sim has to be unlocked with PIN, it shoudl check if the Software keyboard is displayed and hide the software keyboard is visible. As long as the Sim PIN has to be entered, the software Keyboard must remain invisible.

Actual behavior

When the user boots the phone and the phone lock screen appears, she can swype to type in Phone PIN, then the keyboard appears. Since loading the SIM card takes some time, the SIM Unlock screen will appear afterwards, but it is partially hidden behind the software keyboard which the user has already opened.

Logfiles and additional information

UniversalSuperBox commented 4 years ago

Hi @FPfabi,

Are you able to dismiss the on-screen keyboard by swiping it down when this issue occurs?

UniversalSuperBox commented 4 years ago

Hi @FPfabi,

We haven't heard from you in a while. Has this issue occurred again for you, and were you able to dismiss the keyboard yourself?

JamiKettunen commented 4 years ago

I'm seeing this on current edge/devel channels still (the only ones currently available for me), though it's a bit different in the case of the Volla Phone; the SIM unlock dialog shows up immediately after bootup and the keyboard appears at the same time.

If I type my unlock passphrase I can actually unlock the device while the PIN dialog still stays visible on top. On the other hand blanking the screen and unblanking hides the keyboard and things work as expected in the PIN dialog. And yes @UniversalSuperBox, it seems swiping down on the keyboard dismisses it as well :)

Here's a screenshot of the issue: screenshot20200904_231608643

Flohack74 commented 3 years ago

I can confirm this on angler. its a regression, that was already working well for a long time.

Jan-ops79 commented 3 years ago

I confirm on Xiaomi Mi A2. To remove keyboard I have to tap powerbutton twice, keyboard is then gone and able to enter pin onscreen.

Flohack74 commented 3 years ago

Its a weird race condition or idk. I do not get it on all potential devices, and also not on all rootfs versions. Pulling out my hair already :)