Closed Bug 684826 Opened 13 years ago Closed 13 years ago

Last typed character from password field is not visible when password is filled in

Categories

(Firefox for Android Graveyard :: General, defect, P3)

ARM
Android
defect

Tracking

(firefox9 fixed, firefox10 fixed, fennec+)

VERIFIED FIXED
Firefox 9
Tracking Status
firefox9 --- fixed
firefox10 --- fixed
fennec + ---

People

(Reporter: carla.nadastean, Assigned: mfinkle)

Details

(Keywords: regression)

Attachments

(1 file)

Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:9.0a1) Gecko/20110906 Firefox/9.0a1 Fennec/9.0a1
Device: HTC Desire Z
OS: Android 2.3

Steps to reproduce:
1. Open Fennec app.
2. Go to a websites that have a password field. (http://mail.yahoo.com or http://twitter.com)
3. Fill in the password field.

Expected Result:
Last typed character is visible as password is filled in.

Actual Result:
Characters are never visible.

NOTE: 
In device system Settings -> Security: Visible passwords is checked.

Bug is not reproducible in other application, e,g Twitter: last character from password is visible as the password is filled in.
I can't reproduce this; I always I see typed character briefly before it is properly masked.
We were able to reproduce the bug on some other devices with different OS (Android 2.2, Android 2.3.6, Android 3.1).

The only environment where bug is not reproducible that we found is:
Device: Motorola Droid2
OS: Android 2.3.3
Priority: -- → P3
tracking-fennec: --- → 9+
We need to make sure the system setting is properly set (turned on) for this to work. Please verify that Android Settings > Location & Security > Passwords has the right setting.
System settings are properly set:

Android Settings > Location & Security > Show password as you type is checked

Bug is reproducible with HTC Desire Z, Android 2.3
                         HTC Desire, Android 2.2
Bug is not reproducible with Motorola DROID 2, Android 2.3
Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:9.0a 1)Gecko/20110922 Firefox/9.0a1 Fennec/9.0a1
SO: Android 3.1
Device: Samsung Galaxy Tab 10.1

System settings are properly set: Android Settings > Location & Security > Show password as you type is checked.

I can reproduce this bug, actually I cannot see any typed character briefly before it is properly masked.
Gabriela, this is marked as a regression. Can you try some older builds to find a regression range?
tracking-fennec: 9+ → +
(In reply to Brad Lassey [:blassey] from comment #6)
> Gabriela, this is marked as a regression. Can you try some older builds to
> find a regression range?

Regretfully I'm not at ease with my Android device as I am with my desktop yet where I try almost build, so I'm very sorry but I'd rather not try older builds in my device for now.

BTW, being the bug not fixed yet, I don't understand why is this a regression. I would really appreciate it if you could tell me!
(In reply to Gabriela from comment #7)
> BTW, being the bug not fixed yet, I don't understand why is this a
> regression. I would really appreciate it if you could tell me!

regression means that this used to work and now it doesn't. So the assertion is that at some point in the past this bug did not exist and since it does now some patch broke something.
This issue doesn't occur on:
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:8.0a1)Gecko/20110815
Firefox/8.0a1 Fennec/8.0a1
http://hg.mozilla.org/mozilla-central/rev/8994b8638803

but it occurs on:
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:8.0a1)Gecko/20110816
Firefox/8.0a1 Fennec/8.0a1
http://hg.mozilla.org/mozilla-central/rev/37dedb70a68a

Possible range:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8994b8638803&tochange=37dedb70a68a
(In reply to Brad Lassey [:blassey] from comment #8)
> (In reply to Gabriela from comment #7)
> > BTW, being the bug not fixed yet, I don't understand why is this a
> > regression. I would really appreciate it if you could tell me!
> 
> regression means that this used to work and now it doesn't. So the assertion
> is that at some point in the past this bug did not exist and since it does
> now some patch broke something.

Many thanks for taking the time to answer me!
Attached patch patchSplinter Review
This patch uses a slightly different "default" mode, leaning to showing the last character of a password if something goes wrong. Currently, we lean to not showing the last character.

A test build can be found here:
http://people.mozilla.com/~mfinkle/fennec/fennec-10.a1-showpassword.apk

please try this out and let me know if things work better
Assignee: nobody → mark.finkle
    (In reply to Mark Finkle (:mfinkle) from comment #11)
> Created attachment 565640 [details] [diff] [review] [diff] [details] [review]
> patch
> 
> This patch uses a slightly different "default" mode, leaning to showing the
> last character of a password if something goes wrong. Currently, we lean to
> not showing the last character.
> 
> A test build can be found here:
> http://people.mozilla.com/~mfinkle/fennec/fennec-10.a1-showpassword.apk
> 
> please try this out and let me know if things work better

I verified this issue using your test build and found that:
1.The bug is still reproducible when typing in landscape mode using the sw keyboard
2.The bug is not reproducible when typing in - portrait mode using hw and sw keyboard   
                                             - landscape mode using hw keyboard

Devices: HTC Desire (Android 2.2)
         HTC Desire Z (Android 2.2)
The system is controlling the text display when using the landscape software keyboard. Since this patch is fixing your issue in portrait, it sounds like something is funky with your devices to begin with, so mark has fixed about all that is fixable.
Comment on attachment 565640 [details] [diff] [review]
patch

Since this fixes the portrait behavior, I am asking for review.

As Brad said, the landscape keyboard behavior is _not_ Fennec. That is a full screen keyboard provided by the keyboard itself.
Attachment #565640 - Flags: review?(blassey.bugs)
Attachment #565640 - Flags: review?(blassey.bugs) → review+
Fixed for situations where Fennec is controlling the behavior.

https://hg.mozilla.org/mozilla-central/rev/f7bf7ac18a79
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
For the record, this fix really just changes the default to "show last character" when we are unable to determine the actual setting for the system preference. I think this is the behavior we want.
Backed out until we can figure out which of several patches broke Android tests:
https://hg.mozilla.org/mozilla-central/rev/bcf12565b95b
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Re-landed: https://hg.mozilla.org/mozilla-central/rev/788fb79040ed
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 10
This was also backed out and re-landed on inbound:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a5b88a4500aa
https://hg.mozilla.org/integration/mozilla-inbound/rev/20ba6842a750

(These should be a no-op in the next merge from inbound to m-c.  Inbound sheriff, you do not need to change this bug's status.)
Retested bug with:
Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20111012 Firefox/10.0a1 Fennec/10.0a1
Device: Motorola DROID 2
OS: Android 2.3

Bug is no longer reproducible: 
Last typed character from password field is visible when password is filled in  
in - portrait mode using hw and sw keyboard   
   - landscape mode using hw keyboard

Marking bug as verified.
Status: RESOLVED → VERIFIED
Comment on attachment 565640 [details] [diff] [review]
patch

Very simple fix that fixes a regression introduced by bug 673969. The fix simple defaults to the old setting if we can't find the system preference.
Attachment #565640 - Flags: approval-mozilla-aurora?
Attachment #565640 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
I can't reproduce this on my LG Optimus Black phone, using Android OS 2.2.2, using the 10b1 build from:
http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/10.0b1-candidates/build1/unsigned/
So it is not a problem in there, but perhaps the bug could never be shown in my configuration. So I'm not marking it status-firefox10-verified for now.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: