| Summary: | [console] Input expression not always erased after execution | ||
|---|---|---|---|
| Product: | [Modeling] OCL | Reporter: | Ed Willink <ed> |
| Component: | Core | Assignee: | OCL Inbox <mdt-ocl-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Ed Willink
The problem is that the KeyUp event is not delivered to the InputKeyListener. Examining the Widget dispatch code shows a variety of special workarounds to handle wierd Enter anomalies on Windows (my laptop doesn't even have an Enter key). Given the speed issue, it would appear that there is an adverse reaction between the screen refresh to update the highlighting and the input event processing. Moving the erase into KeyDown does not seem to help. Repro: Open Xtext Interactive console Type: 1 2 3 4 <CR> as fast as you can. Usually fails to erase. Workaround: let the screen refresh complete before hitting <CR> |