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

Bug 292952

Summary: Arrow keys not working in Text field on form
Product: [RT] RAP Reporter: Paul Kendall <pkendall64>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, Tim.Whittington
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Bundle with source showing problem none

Description Paul Kendall CLA 2009-10-21 15:59:55 EDT
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20091020 Ubuntu/9.10 (karmic) Firefox/3.5.3
Build Identifier: Head

If you create a ViewPart with a Form or ScrolledForm and a Section with a text field in it, the arrow keys, page up/down, home/end keys do not work as expected.

Reproducible: Always
Comment 1 Paul Kendall CLA 2009-10-21 16:02:37 EDT
Created attachment 150157 [details]
Bundle with source showing problem

This bundle has a ViewPart that has a Form and a Section with a text field.
Just put the cursor in the text field and you will find that the arrow keys and other navigation do not work as expected.
Comment 2 Paul Kendall CLA 2009-10-21 16:31:32 EDT
This is only a problem on ScrolledForms! Most of our application uses
ScrolledForms.

In my test I changed the ScrolledForm to a Form and it works as expected.
Comment 3 Ivan Furnadjiev CLA 2009-10-22 01:09:10 EDT
Removed preventDefault() from ScrolledComposite.js#_onKeyPress. Changes are in CVS HEAD.