fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Bug] The Login capture panel is incorrectly displayed when opening the keyboard

Open abodea opened this issue 6 years ago • 14 comments

Steps to reproduce

  1. Launch Fenix.
  2. Access any website and login.
  3. On the Login capture panel tap on the username or password field.
    1. Expected behavior The Login capture panel should be fully displayed with all the buttons in order to save or not after editing the password.
    2. Actual behavior The Login capture panel is incorrectly displayed when opening the keyboard
    3. Device information
  • Android device: Google Pixel 4 XL (10).
  • Fenix version: Nightly 4/22.

20200422-171352-1

┆Issue is synchronized with this Jira Task

abodea avatar Apr 22 '20 14:04 abodea

I think this in theory would impact all of our bottom sheet dialogs, but this is the only dialog with edit texts AFAIK. This dialog lives in Android Components here

ekager avatar Apr 27 '20 22:04 ekager

Bottom-sheet w/ edit text is in AC, but Fenix can work on it.

liuche avatar May 11 '20 20:05 liuche

My AC fix landed and this should be fixed in master now 😄

sblatz avatar May 18 '20 17:05 sblatz

Hello @sblatz, found this bug (login dialog is shown in the middle of the screen and the keyboard disappears - Video) which appeared after https://github.com/mozilla-mobile/android-components/pull/6997 was merged. Posted it here because it's related and it's not closed yet.

ValentinTimisica avatar May 19 '20 13:05 ValentinTimisica

Hmm this seems to be happening because the keyboard is visible at first but dismisses as the fragment is showing. This does seem like a much less severe bug than the original, but I will investigate to see if I can fix both.

sblatz avatar May 19 '20 19:05 sblatz

Hello @sblatz, found this bug (login dialog is shown in the middle of the screen and the keyboard disappears - Video) which appeared after mozilla-mobile/android-components#6997 was merged. Posted it here because it's related and it's not closed yet.

Reproducible on Beta 5.1.0-beta.1 and Nightly 200520 from 5/20 after signing in to: • yahoo.com • instagram.com

using the following devices: • Google Pixel 3a (Android 10) • Huawei Mate 20 Lite (Android 9) • OnePlus A3 (Android 6.0.1)

AndiAJ avatar May 20 '20 08:05 AndiAJ

The other AC fix I made for this has landed. Let's test one more time 😄

sblatz avatar May 22 '20 17:05 sblatz

The new AC patch hasn't been merged yet. I'll put the qa needed on again once it lands in Fenix.

sblatz avatar May 22 '20 23:05 sblatz

We've updated AC now so I'll put a qa needed on this 😄

sblatz avatar May 26 '20 16:05 sblatz

Hi, verified as fixed on the latest Nightly Build 200529 from 5/29 using the following devices: • Google Pixel 3a (Android 10) • Huawei Mate 20 Lite (Android 9) • OnePlus A3 (Android 6.0.1)

► Video Instagram 20200529-093303

► Video Yahoo 20200529-093450

AndiAJ avatar May 29 '20 06:05 AndiAJ

Hello @sblatz, found this bug (login dialog is shown in the middle of the screen and the keyboard disappears - Video) which appeared after mozilla-mobile/android-components#6997 was merged. Posted it here because it's related and it's not closed yet.

I can still reproduce this with Samsung Galaxy S9 (Android 8) on Firefox Preview Beta 5.2.0-beta and latest nightly, it's not reproducible all the time, 3 out of 5. Beta 20200610-181718

Nightly 20200610-182055

Diana-Rus avatar Jun 10 '20 15:06 Diana-Rus

My guess is that making the delay slightly longer on this would fix this since it's intermittent 😕

sblatz avatar Jun 10 '20 22:06 sblatz

I updated the delay to be a bit longer in AC, this should be fixed now!

sblatz avatar Jun 12 '20 17:06 sblatz

Verified as fixed on Nightly 6/15 with the following devices:

  • Samsung Galaxy S9 (Android 8)
  • Pixel 3XL (Android 9)
  • Samsung Galaxy Note 10 (Android 10)
  • Nokia 6 (Android 7.1.1)
  • Huawei MediaPad M2 (Android 5.1.1)

sflorean avatar Jun 15 '20 12:06 sflorean