Closed Bug 50329 Opened 24 years ago Closed 24 years ago

Autocomplete should fire on backspace

Categories

(MailNews Core :: Composition, defect, P2)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: phil, Assigned: bugzilla)

Details

(Keywords: polish, Whiteboard: [nsbeta3+])

Using 2000-08-25-08 commercial build on NT

1. Bring up compose window
2. Type a common name which will generate a lot of autocomplete hits, like Bob
3. Once you have the menu of choices, type another letter or two from one of the
hits, to narrow it down
4. Now backspace back to just Bob

Expected: list of hits, as when I typed Bob in the first place
Actual: no hits shown - autocomplete seems to fire if you type actual
characters, but not if you type backspace

cc'ing radha since the URL bar autocomplete has the same behavior.
Adding 4xp and polish keywords
Keywords: 4xp, polish
QA Contact: lchiang → esther
you are right, my mistake. Should be very simple to fix...
Status: NEW → ASSIGNED
Keywords: nsbeta3
Target Milestone: --- → M18
here is the fix:

Index: autocomplete.xml
===================================================================
RCS file: 
/cvsroot/mozilla/xpfe/components/autocomplete/resources/content/autocomplete.xml
,v
retrieving revision 1.12
diff -u -r1.12 autocomplete.xml
--- autocomplete.xml    2000/08/24 03:55:09     1.12
+++ autocomplete.xml    2000/08/25 23:42:04
@@ -355,17 +355,6 @@

                                switch (event.keyCode)
                                {
-                                       case 8: /*vk_back*/
-                                       case 46: /*vk_delete*/
-                                   if (me.autoCompleteTimer) {
-                                           clearTimeout(me.autoCompleteTimer);
-                                           me.autoCompleteTimer = 0;
-                                   }
-                                               
me.privatefunc.closePopupMenu(me);
-            if (me.lastResults != null)
-                                                 
me.lastResults.searchString='';
-                                               return;
-
           case 9: /*vk_tab*/
                                                if (popup)
               me.privatefunc.closePopupMenu(me);
Whiteboard: Fix in hand
+, P2 per mail triage
Keywords: mail2
Priority: P3 → P2
Whiteboard: Fix in hand → [nsbeta3+] Fix in hand
fixed and checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: [nsbeta3+] Fix in hand → [nsbeta3+]
Using build 2000-06 on win98, mac and linux this is fixed.  Verified
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.