Closed Bug 370406 Opened 17 years ago Closed 16 years ago

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

Categories

(Toolkit :: Autocomplete, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timwi, Unassigned)

Details

(Keywords: regression, testcase)

Attachments

(1 file)

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.
Attached file 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
(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
Appears to be fixed in Firefox 3 Beta 5.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: