Closed Bug 1711626 Opened 4 years ago Closed 4 years ago

[Bug] Password fields should not automatically start with capital letter with Samsung keyboard

Categories

(GeckoView :: IME, defect, P3)

Unspecified
Android
defect

Tracking

(firefox91 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

From github: https://github.com/mozilla-mobile/fenix/issues/19335.

Steps to reproduce

Go to any page with a password field eg Gmail.com
Select the password field
Android keyboard automatically opens with Caps selected for the first letter

Expected behavior

Do not default to starting with a capital letter for passwords

Actual behavior

Android keyboard automatically opens with Caps selected for the first letter

Device information

  • Device vendor / model and Android version: Samsung galaxy tab s6 Android v11
  • Firefox for Android version: ? (go to Settings -> About Firefox) 88.1.2

I know that this is a setting on my keyboard to capitalise the first letter. I am assuming that this can be overridden by applications

Change performed by the Move to Bugzilla add-on.

Assignee: nobody → m_kato
Summary: [Bug] Password fields should not automatically start with capital letter → [Bug] Password fields should not automatically start with capital letter with Samsung keyboard
Severity: -- → S3
Priority: -- → P3

Actually, we set auto-capitalize flag if current <input> element isn't text
due to bug 871884.

Most 3rd party keyboard ignores this flag if it is password. But Samsung's
default keyboard uses this flag even if this is password.

So we shouldn't set auto-capitalize flag if <input> element is password.

Also, we also set this on type=email and type=url. But when I check Chrome
behaviour, they don't set this flag on these types. So I would like not to set
this flag to these types too.

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/e01bf80dc0be Don't set InputType.TYPE_TEXT_FLAG_CAP_SENTENCES for some types. r=geckoview-reviewers,agi
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch

Moving some keyboard bugs to the new GeckoView::IME component.

Component: General → IME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: