| Summary: | [DataBinding] field update not working when hitting <ENTER> toactivate default button | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Boris Bokowski <bokowski> |
| Component: | UI | Assignee: | Boris Bokowski <bokowski> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Alfredo.Bencomo, djo, Konstantin.Scheglov, qualidafial |
| Version: | 3.2 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Boris Bokowski
*** Bug 133978 has been marked as a duplicate of this bug. *** Hi Boris, any plans to implement/fix this anytime soon? Would you be able to attach a snippet that demonstrates the bug? *** This bug has been marked as a duplicate of bug 256543 *** Note a dupe. Bug 256543 is an enhancement to support SWT.DefaultSelection as the trigger for committing changes in the text field to the observable. This bug is about when a Text field is being observed with the SWT.FocusOut event. If the shell has a default button, and the user makes changes into a field and hits enter without leaving the field, then the default button is activated *without* the text observable having a chance to update. Thus hitting enter before the last changes are committed can cause those changes to be lost. I think I've changed my mind on this one. There are two solutions available now: add SWT.DefaultSelection to the event type array when creating the observable for the text field; or disable the default button while the text field observable is stale. *** This bug has been marked as a duplicate of bug 256543 *** |