Closed
Bug 1403566
Opened 7 years ago
Closed 7 years ago
Web Apps - Login auto-complete isn't working, with multiple logins saved
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P2)
Tracking
(fennec+, firefox57 disabled, firefox58 wontfix, firefox59 verified)
RESOLVED
FIXED
Firefox 59
People
(Reporter: ohorvath, Assigned: cnevinchen)
References
Details
(Whiteboard: [pwa-front-end][FNC][SPT59.2][INT])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
jchen
:
review+
gchang
:
approval-mozilla-beta-
|
Details |
Devices:
LG G4 (Android 6);
Build: Nightly 58.0a1 (2017-09-26);
Steps to reproduce:
1. Go to twitter.com web app and log in.
2. Save the password.
3. Log out and go back to the login page.
4. Tap the username field for autocomplete options.
Expected result:
Username & password should be auto-filled in if it was saved. If there are multiple logins saved, a drop-down should display the options.
Actual result:
- when there is just one login saved, the autocomplete works: username and pass are auto-filled in when you start the web app.
- when there are 2 or more logins saved for the same site, passwords are filled in but usernames not. You have to type in the username and then the password will be autocompleted. In the browser, there is a username drop-down list for auto-complete that doesn't appear in the web app.
note: The same issue occurs for custom tabs if you open the twitter login page(from a gmail link, for e.g.).
Jim is everything in for this to work?
Flags: needinfo?(nchen)
Comment 2•7 years ago
|
||
We need a FormAssistPopup view in the WebAppActivity layout, which is currently just the GeckoView itself [1]. So basically, we need to add some kind of relative layout for WebAppActivity, and add [2] to that.
Nevin, can someone from frontend work on this?
[1] http://searchfox.org/mozilla-central/rev/3dbb47302e114219c53e99ebaf50c5cb727358ab/mobile/android/base/java/org/mozilla/gecko/webapps/WebAppActivity.java#116
[2] http://searchfox.org/mozilla-central/rev/3dbb47302e114219c53e99ebaf50c5cb727358ab/mobile/android/app/src/main/res/layout/customtabs_activity.xml#30
Flags: needinfo?(nchen) → needinfo?(cnevinchen)
Assignee | ||
Comment 3•7 years ago
|
||
Hi Wesly, Joe
Please help prioritze this for FormAssistPopup support for PWA(GeckoView-based app)
Flags: needinfo?(wehuang)
Flags: needinfo?(jcheng)
Flags: needinfo?(cnevinchen)
Comment 4•7 years ago
|
||
is this part of the GeckoView feature offering?
Flags: needinfo?(jcheng) → needinfo?(snorp)
Updated•7 years ago
|
Flags: needinfo?(wehuang)
Whiteboard: [pwa-front-end]
Updated•7 years ago
|
Priority: -- → P2
Updated•7 years ago
|
tracking-fennec: ? → +
(In reply to Joe Cheng [:jcheng] (please needinfo) from comment #4)
> is this part of the GeckoView feature offering?
No, but there is some stuff to make it work in Custom Tabs. Comment #2 lists the steps the frontend needs to take to make it work in the PWA activity.
Flags: needinfo?(snorp)
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8932381 [details]
Bug 1403566 - Support mutli login for PWA.
https://reviewboard.mozilla.org/r/203442/#review208984
Attachment #8932381 -
Flags: review?(nchen) → review+
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cnevinchen
Pushed by nechen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5f945ce89be8
Support mutli login for PWA. r=jchen
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Assignee | ||
Comment 12•7 years ago
|
||
Hi Wesly. Can we have QA verified first before we uplift? Or should we?
Flags: needinfo?(cnevinchen) → needinfo?(wehuang)
Comment 13•7 years ago
|
||
Oana, Nevin had a patch to fix this one during some other tech. discussion. Would you help on the verification before we uplift it to Beta? Thanks!
Flags: needinfo?(wehuang) → needinfo?(oana.horvath)
Reporter | ||
Comment 14•7 years ago
|
||
Verified as fixed on Nightly 59 (2017-12-05) for PWA and custom tabs.
Devices:
Samsung Galaxy Note 4 (Android 5.0.1)
LG Nexus 5 (Android 6.0.1)
Flags: needinfo?(oana.horvath)
Updated•7 years ago
|
Whiteboard: [pwa-front-end] → [pwa-front-end][FNC][SPT59.2][INT]
Assignee | ||
Comment 15•7 years ago
|
||
Comment on attachment 8932381 [details]
Bug 1403566 - Support mutli login for PWA.
Approval Request Comment
[Feature/Bug causing the regression]:PWA needs to display a list in Java UI when users have multiple login saved
[User impact if declined]: User won't see anything if they have more than one login saved
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: no
[Is the change risky?]: no
[Why is the change risky/not risky?]: We just show extra UI. So it should be safe.
[String changes made/needed]: no
Attachment #8932381 -
Flags: approval-mozilla-beta?
Comment 16•7 years ago
|
||
I'm not sure I'm comfortable with "we just show extra UI" as risk assessment here. We've had this bug on file for two months and it hasn't been a priority until now, why is it suddenly needed in late beta?
Flags: needinfo?(cnevinchen)
Comment 17•7 years ago
|
||
noise |
https://hg.mozilla.org/projects/oak/rev/5f945ce89be85807d1f7e5f43424ab16ad1530f9
Bug 1403566 - Support mutli login for PWA. r=jchen
Assignee | ||
Comment 18•7 years ago
|
||
Just found out my reply is not saved! I thought I replied just after you posted ... sorry again.
(In reply to Julien Cristau [:jcristau] from comment #16)
> I'm not sure I'm comfortable with "we just show extra UI" as risk assessment
The reason I said it "just show extra UI" is because the same UI is displayed for custom tab (see comment 2) so it's nothing new.
> here. We've had this bug on file for two months and it hasn't been a
> priority until now, why is it suddenly needed in late beta?
This is because we don't have the time and there's no plan to fix p2.(see Comment 5)
> why is it suddenly needed in late beta? Cause
We fix it now cuase we finaly have time for bugs other than p2 (see https://wiki.mozilla.org/Mobile/Firefox_for_Android, sprint 59.2)
I think Wesly can help elaberate more
Flags: needinfo?(wehuang)
Flags: needinfo?(jcristau)
Flags: needinfo?(cnevinchen)
Comment 19•7 years ago
|
||
Comment on attachment 8932381 [details]
Bug 1403566 - Support mutli login for PWA.
It's late beta. Might be a big risky to have this in beta. Beta58-.
Attachment #8932381 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•7 years ago
|
Updated•7 years ago
|
Flags: needinfo?(jcristau)
Comment 20•7 years ago
|
||
(In reply to Nevin Chen [:nechen](pto till Jan 3rd) from comment #18)
> (In reply to Julien Cristau [:jcristau] from comment #16)
> > why is it suddenly needed in late beta? Cause
> We fix it now cuase we finaly have time for bugs other than p2 (see
> https://wiki.mozilla.org/Mobile/Firefox_for_Android, sprint 59.2)
>
> I think Wesly can help elaberate more
Sorry for late. Indeed we plan to tackle this issue later so we didn't fix it in the 1st place. I can understand RM's concern as well, so let's live with it.
Flags: needinfo?(wehuang)
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•