Closed Bug 1542994 Opened 5 years ago Closed 9 months ago

Autocomplete pops up when next input is clicked

Categories

(Toolkit :: Form Manager, defect, P3)

66 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr60 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fix-optional

People

(Reporter: scipper, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Steps to reproduce:

  • one input type text
  • directly below one input type number
  • due to pre submittions to the form, the text input provides auto complete values (e.g. Test1 and Test2)

Can be viewer here: https://screencast-o-matic.com/watch/cqfj2rZXVc
Can be reproduced here: https://jsfiddle.net/ax7unjhb/2/

Actual results:

when I know activate the text input and click on arrow up of the number input, the auto complete values appear and causes the number input to increment the number to its max value

Expected results:

When I click the increase button of the number input, I expect to increase the number by 1.

EDIT
Expected results:

When I click the increase button of the number input, I expect to increase the number by 1, switch the focus to the number input and not show the auto complete.

I can reproduce the issue on Nightly68.0a1 Windows10 and ESR60 as well.

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
Product: Firefox → Core
  1. Store some value for autocomplete
  2. Reload the testcase Ctrl+F5
  3. Double click on the input filed so that autocomplete dropdown will popup
  4. Click on the input filed so that autocomplete dropdown will rollup, Or Right click on the input filed so that autocomplete dropdown will rollup
  5. Click up-arrow buttun

The problem is reproduced since Firefox52.
When E10s is disabled, the Autocomplete dropdown covers over the input number field.
When E10s is enabled, the issue of comment #0 is reproduced.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=cf7649531c81d88c1948c88512b0c8c50cf0f2e3&tochange=4b2fef1aa33e310f577dbe36a6c6abf3f1c7f0ce

Triggered by:
4b2fef1aa33e Mike Conley — Bug 1296638 - Adjust autocomplete test helpers to account for the new richlistbox implementation. r=MattN
e4e0419afca7 Mike Conley — Bug 1296638 - Make Form Autocomplete popup use a richlistbox instead of a tree. r=MattN
336c201c32bc Mike Conley — Bug 1296638 - AutoCompletePopup in browser-content.js and AutoCompletePopup.jsm need to have popupOpen be in sync. r=MattN

Has Regression Range: --- → yes
Keywords: regression
Regressed by: 1296638

Mike, it is marked as regression from bug 1296638. Could you please take a look?

Flags: needinfo?(mconley)

I've put this into the right component for triage.

Component: Layout: Form Controls → Form Autofill
Flags: needinfo?(mconley)
Product: Core → Toolkit
Component: Form Autofill → Form Manager
Priority: -- → P2

Reproduced on Firefox 102.

Severity: normal → S3
Priority: P2 → P3

Looks like it was fixed recently, can't reproduce anymore.

Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.