#1075 closed defect (fixed)
ComboBox - backspacing out last character list problem
Reported by: | Owned by: | Douglas Hays | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | ComboBox | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
Problem:
Backspacing out the last character causes a significant delayed search and results in a delayed refresh list problem.
Software:
Dojo ComboBox? 0.3.1 with incrementalComboBoxDataProvider and search delay of 350 milliseconds.
Analysis:
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)
Change History (9)
comment:1 Changed 15 years ago by
Component: | General → Widgets |
---|
comment:2 Changed 14 years ago by
Owner: | changed from anonymous to alex |
---|
comment:3 Changed 14 years ago by
Milestone: | 0.4 → 0.4.1 |
---|
comment:4 Changed 14 years ago by
Owner: | changed from alex to Douglas Hays |
---|
comment:5 Changed 14 years ago by
Status: | new → assigned |
---|
Changed 14 years ago by
Attachment: | 1075.patch added |
---|
comment:6 Changed 14 years ago by
Cc: | [email protected]… added |
---|
comment:7 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Sam, please verify the fix with the attached patch file against the latest trunk.