| Summary: | Performance issue with text field assists when typing fast | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tillmann Seidel <tseidel> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 1.5 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 330461 | ||
|
Description
Tillmann Seidel
ContentProposalAdapter is heavy use of key events. When you create a ContentProposalAdapter, a key event listener is attached to the text widget. For every key press on the client a new request is send (immediately or after a delay) to the server. The issue with the bad performance is related to these bunch of requests, but this is a known limitation of the key events. The fix is to rewrite (if possible) the ContentProposalAdapter to not use of key events, but modify events only. I think that this issue has been fix with the bug 367871. DOM key events are not canceled automatically anymore and re-fired again after getting the result from the doit flag. Please reopen if the issue persists with RAP > 1.5M5. |