Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328120

Summary: DateTextRidget not working with RAP
Product: [RT] Riena Reporter: Jürgen Becker <juergen.becker>
Component: ridgetAssignee: Steffen Kriese <steffen.kriese>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.0.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch for org.eclipse.riena.ui.ridgets.swt fixes DateTextRidget to work with RAP steffen.kriese: iplog+

Description Jürgen Becker CLA 2010-10-19 08:23:15 EDT
Created attachment 181174 [details]
 Patch for org.eclipse.riena.ui.ridgets.swt fixes DateTextRidget to work with RAP

The RAP SWT implementation does not send a proper VerifyEvent in case of text
input via keyboard. It does not set the VerifyEvent.character field. This
prevents the DateTextRidget and derived classes from working properly.

The attached patch is a workaround which should be removed after the RAP bug is
fixed.

This is related to Bug #327450 (NumericTextRidget).

The DateTextRidget has the problem when text is entered or deleted very fast. Look at this comment (https://bugs.eclipse.org/bugs/show_bug.cgi?id=327450#c2) for a detailed explanation.
Comment 1 Steffen Kriese CLA 2010-10-19 10:26:35 EDT
Patch applied, thanks Jürgen.