Auto-complete box appears after pressing Enter if relevant element has been made invisible

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
12 years ago
11 years ago

People

(Reporter: timwi, Unassigned)

Tracking

({regression, testcase})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

683 bytes, text/html
Details
(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

See STR.

Reproducible: Always

Steps to Reproduce:
1. Make sure you have JavaScript enabled.
2. Open the attached testcase. (Keyboard focus will automatically be sent to the textbox.)
3. Press Enter.
Actual Results:  
The textbox disappears as expected, but an orphaned auto-complete box appears in the top-left corner of the screen (not the website viewport -- the screen!), containing at least one item which is the text that was in the textbox.

Expected Results:  
No such thing should happen.

The bug only occurs if you follow the STR precisely. If you do anything that causes the auto-complete box to appear while the textbox is still visible, the bug does not occur. If you use the mouse to click on the button, or you Tab to the button before pressing Enter, the bug will also not occur.
(Reporter)

Comment 1

12 years ago
Created attachment 255119 [details]
Testcase
Regression somewhere in the first quarter of 2006, presumably in March.
(In reply to comment #2)
> Regression somewhere in the first quarter of 2006, presumably in March.
>
No, that's wrong. When I reload it (not shift+reload) I see a crash in build 2005-08-22:10 and earlier and the described tooltip like thingy in 2005-08-22:22 and later. So this could be the result of a crash fix.

Regression window is:  http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2005-08-22+09%3A00&maxdate=2005-08-22+23%3A00

Crash fixes in this range are: Bug 304373, Bug 305335 and Bug 303725.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression, testcase

Comment 4

12 years ago
(In reply to comment #3)
> (In reply to comment #2)
> > Regression somewhere in the first quarter of 2006, presumably in March.
> >
> No, that's wrong. When I reload it (not shift+reload) I see a crash in build
> 2005-08-22:10 and earlier and the described tooltip like thingy in
> 2005-08-22:22 and later. So this could be the result of a crash fix.
> 
> Regression window is: 
> http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2005-08-22+09%3A00&maxdate=2005-08-22+23%3A00
> 
> Crash fixes in this range are: Bug 304373, Bug 305335 and Bug 303725.
> 

I doubt that it has anything to do with the patch for bug 304373.  Those changes were in the xforms extension only (not part of the default build).
Component: Form Manager → Autocomplete
Product: Firefox → Toolkit
QA Contact: form.manager → autocomplete
(Reporter)

Comment 5

11 years ago
Appears to be fixed in Firefox 3 Beta 5.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.