Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#1075 closed defect (fixed)

ComboBox - backspacing out last character list problem

Reported by: [email protected] Owned by: Douglas Hays
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: ComboBox Cc: [email protected]
Blocked By: Blocking:



Backspacing out the last character causes a significant delayed search and results in a delayed refresh list problem.


Dojo ComboBox? 0.3.1 with incrementalComboBoxDataProvider and search delay of 350 milliseconds.


When backspacing out characters a search is sent to the server. When the last character is removed the search is delayed much longer before it is sent to the server. Because the delay is much longer when backspacing the last character, if the user quickly types a character before the results of the backspace are shown the list is incorrectly refreshed.

1) The first search was for “s”

2) The second search was the result of pressing backspace twice, once to remove the type-ahead and the next to remove the type-value

3) The third search was the delayed last character backspace.

Steps to Recreate:

1) Refresh page

2) Type in “s,” without quotes

3) Backspace twice. There should be no more characters in the textbox.

4) Quickly Type in “s” without quotes

Server Output:

11:26:38,366 INFO [STDOUT] input = s output="Saa,Edward"

11:26:42,121 INFO [STDOUT] input = s output="Saa,Edward"

11:26:42,822 INFO [STDOUT] input = output= "A'aguilar,Eleonora E"

TextBox? Output:

Actual Value = saa,Edward

Expected Value saa,Edward”

List Output:

Actual Value = list for “A'aguilar,Eleonora E"

Expected Value = list for “Saa,Edward,”

Attachments (1)

1075.patch (932 bytes) - added by Douglas Hays 16 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 16 years ago by guest

Component: GeneralWidgets

comment:2 Changed 16 years ago by dylan

Owner: changed from anonymous to alex

comment:3 Changed 16 years ago by dylan


comment:4 Changed 16 years ago by bill

Owner: changed from alex to Douglas Hays

comment:5 Changed 16 years ago by Douglas Hays

Status: newassigned

Changed 16 years ago by Douglas Hays

Attachment: 1075.patch added

comment:6 Changed 16 years ago by Douglas Hays

Cc: [email protected] added

Sam, please verify the fix with the attached patch file against the latest trunk.

comment:7 Changed 16 years ago by alex

Resolution: fixed
Status: assignedclosed

(In [6629]) applying Doug Hays' patch. Fixes #1075

comment:8 Changed 15 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.