Closed Bug 344822 Opened 20 years ago Closed 7 years ago

form autocompletion dropdown is far too trigger happy

Categories

(Toolkit :: Form Manager, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: tim.w.connors, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Entering anything into a textbox (eg, https://bugzilla.mozilla.org/query.cgi "words" textbox) invokes the autocompletion drop down. One thinks firefox should wait until at least a couple of keys have been entered before bothering to narrow down the selection. Merely focussing the textbox is enough to do this sometimes. Click on the textbox, and a drop down appears. Now attempt to double click (to select a word) or triple click (to select a line), and you'll find it very difficult. Then there's bug 340839, where going to the same bugzilla page, getting the dropdown invoked on you, then try selecting the "product" combo box, and you can't get rid of the dropdown. What changed between 1.0 and 1.5 anyway? I remember form autocompletion being more useful and less annoying in the past. Is there any other behaviour changes that have happened that I have forgotten about? Reproducible: Always
Also gets invoked when one simply presses ctrl-pgup/pgdown to move to another tab, whilst focus is resting on the text field.
> Entering anything into a textbox (eg, https://bugzilla.mozilla.org/query.cgi > "words" textbox) invokes the autocompletion drop down. One thinks firefox > should wait until at least a couple of keys have been entered before > bothering to narrow down the selection. Why do you think that? > Merely focussing the textbox is enough to do this sometimes. Click on the > textbox, and a drop down appears. Clicking in an already-focused textbox invokes autocomplete. That's intentional, to give users a way to use autocomplete with only the mouse, and it matches IE. Is it a problem for you? > Now attempt to double click (to select a > word) or triple click (to select a line), and you'll find it very difficult. Works for me. If there's a bug (in Firefox, in X, or wherever) that prevents you from double-clicking when an autocomplete popup appears on the first click, that bug should be fixed... > Then there's bug 340839, where going to the same bugzilla page, getting the > dropdown invoked on you, then try selecting the "product" combo box, and you > can't get rid of the dropdown. I don't see how that's related.
(In reply to comment #2) > > Entering anything into a textbox (eg, https://bugzilla.mozilla.org/query.cgi > > "words" textbox) invokes the autocompletion drop down. One thinks firefox > > should wait until at least a couple of keys have been entered before > > bothering to narrow down the selection. > > Why do you think that? Because when you have an appreciable amount of autocompletion alternatives, having every single option in the dropdown is not very useful. Perhaps I should have phrased this "only display the completion alternatives once enough characters have been entered to narrow down the completion results to N results". > > Merely focussing the textbox is enough to do this sometimes. Click on the > > textbox, and a drop down appears. > > Clicking in an already-focused textbox invokes autocomplete. That's > intentional, to give users a way to use autocomplete with only the mouse, and > it matches IE. Is it a problem for you? When combined with bug 344824 and/or the fact that firefox doesn't always acknowledge that the textboxt truly does have the focus, yes it is. As I said, whatever was the behaviour in 1.0 was a lot less intrusive, and I think this was one of the changes. As to wanting to match IE -- some of us don't use windows and IE because we find/found the alternatives better. > > Now attempt to double click (to select a > > word) or triple click (to select a line), and you'll find it very difficult. > > Works for me. If there's a bug (in Firefox, in X, or wherever) that prevents > you from double-clicking when an autocomplete popup appears on the first click, > that bug should be fixed... It does work for you? Try focussing on the text field, then double/triple clicking, or alternatively focussing, invoking the dropdown by clicking again, then double/triple clicking. I can't test this now, because I don't have firefox on my work machine, but it makes sense intuitively -- to double click, you've got to single click, and if you're already focussed on the text field and firefox drops the box before determining that we are dealing with a double click... > > Then there's bug 340839, where going to the same bugzilla page, getting the > > dropdown invoked on you, then try selecting the "product" combo box, and you > > can't get rid of the dropdown. > > I don't see how that's related. Not going away when asked to is similar to popping up when not asked to -- there's a vague chance the symptoms could be related. And the followup comment about the ctrl-pgup/pgdown? Can you reproduce that?
It sounds like if bug 344824 and other focus issues were fixed, form autocomplete wouldn't get in your way much.  So it's those bugs that should be fixed, rather than removing useful autocomplete functionality. > to double click, > you've got to single click, and if you're already focussed on the text field  > and firefox drops the box before determining that we are dealing with a double > click... As long as the autocomplete dropdown doesn't overlap with the textbox (which shouldn't happen), and focus isn't broken, double-clicking should work fine despite the autocomplete dropdown appearing. On Mac, when I double-click a word in a Google search box where I've only typed "a", sometimes the "a" becomes selected and sometimes it doesn't :(  So I guess there's a bug there. > And the followup comment about the ctrl-pgup/pgdown?  Can you reproduce that? Yes.  I split that into bug 344966.
My pet peeve wrt this bug is that Firefox offers EXACT matches to what I've already typed. I work on pages where I often type a single character into a form field, and then I get the auto-complete options that list that single character that I've already typed, and cover up the next field that I want to click on, so I have to de-select the field before clicking the next one. Now, honestly, what is the point of that?!
Maybe Firefox is trying to teach you to use the Tab key instead of clicking to get to the next field? ;)
Normally I would use the tab, but in the case of my frequent use of phpMyAdmin, the field below that I want to enter into is TWO tabs away, but only ONE click - and I'm often entering a zero into several fields, so it's much easier to be ambidextrous than to be hitting the tab much more often than necessary. Actually, I've taken to filling out the form bottom-up to avoid any slow downs. ;-) It's also cramping my Sudoku. :-p
I think it's generally good that autocomplete starts appearing after you type the first character. Would it help you if we special-cased the situation where you typed a single letter, and the only autocomplete option is the string consisting of only that single letter? Or do you sometimes type that letter and then something else?
It should indeed start appearing after I type one character. However, it should NEVER suggest exact matches to what has already been typed. For example: I type: T It now suggests: T To Two Tyler It should suggest: To Two Tyler Someone pointed out in an earlier comment that there is a way to bring up auto-complete for accessibility reasons, otherwise I would suggest not even remembering single characters entered into fields. However, because of this, maybe it would be good to have a configurable option for minimum length of saved form data (I would probably set it at about 4, personally). Let me also re-state, it should NEVER suggest a word that matches what has already been typed completely. I type: tyler it suggests: tyler Stupid.
That sounds more like bug 262206 than this bug.
I try to avoid copying anything to the clipboard if I can, as I may already have something in there I was using a few minutes ago. To bypass sites that make you enter the same details twice, I instead drag a copy of the text into the second form field. In recent Firefoces, though, trying to drag the contents of a form field drops open the list of autocomplete entries -- even if there is only one precise match -- and this then obscures the destination field. It is the clicking on the field that triggers the dropdown, even if you're trying to drag out of it, not change the entry. Firefox did not have this behaviour before, and there does not appear to be any advantage to it.
Component: Location Bar and Autocomplete → Autocomplete
Product: Firefox → Toolkit
QA Contact: location.bar → autocomplete
(In reply to comment #11) > In recent Firefoces, though, trying to drag the contents of a form field drops > open the list of autocomplete entries I filed Bug 477533 on this.
Recaptcha not got
Flags: needinfo?(tim.w.connors)
Component: Autocomplete → Form Manager
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(tim.w.connors)
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: