Closed Bug 460466 Opened 16 years ago Closed 16 years ago

Clicking on an autocompleted <INPUT> disables autocomplete for that window

Categories

(SeaMonkey :: Autocomplete, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file)

Steps to reproduce problem
1. Cause the inline autocomplete popup to appear
2. Click on the <INPUT>
3. Notice that autocomplete does not function for that window

What happens is this:
1. The mouse down event dismisses the popup (via nsWindow::DealWithPopups and nsXULPopupManager::Rollup)
2. The form fill controller notices the click on the <INPUT> and tries to open the popup (which is normal behaviour when the popup is closed)
3. The XUL popup manager notices that it just rolled up the popup and refuses to open the popup
Unfortunately autocomplete.xml now thinks the popup is open and won't let you open the popup again.
Attached patch Proposed patchSplinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #343562 - Flags: review?(ajschult)
I applied the changes listed in the bug to content\global\autocomplete.xml in toolkit.jar on my system and can verify it works. 

Note bug 460339 opened by me is the same bug and can be considered a duplicate.
It would be nice if this fix could be in the next beta especially since there currently isn't a form manager in SeaMonkey 2 yet.
Flags: wanted1.9.1?
Comment on attachment 343562 [details] [diff] [review]
Proposed patch

Patch inspection looks good and sane;

I never tested and am not extremely familiar here, but Neil; if you trust that as a sane review, feel free to use my r+
Attachment #343562 - Flags: review+
Pushed changeset 26403004f658 to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Attachment #343562 - Flags: review?(ajschult)
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/f11503f5c3e9
Clicking on autocompleted <input> disables autocomplete for that window r=Callek NPOTB
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: