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

Bug 242213

Summary: [forms] FormText is missing
Product: [RT] RAP Reporter: Gunnar Wagenknecht <gunnar>
Component: WorkbenchAssignee: Ivan Furnadjiev <ivan>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: b.muskalla, loic.bertholet, ruediger.herrmann
Version: 1.0Keywords: plan
Target Milestone: 1.2 M6   
Hardware: All   
OS: All   
Whiteboard: plan-version=1.2 plan-theme=extend-rwt plan-status=committed
Bug Depends on:    
Bug Blocks: 241516    

Description Gunnar Wagenknecht CLA 2008-07-28 06:35:38 EDT
It would be nice if support for FormText would be added to RAP.
Comment 1 Benjamin Muskalla CLA 2009-03-11 07:42:34 EDT
*** Bug 268077 has been marked as a duplicate of this bug. ***
Comment 2 Ivan Furnadjiev CLA 2009-03-16 06:13:50 EDT
The FormText is committed in CVS HEAD.
Comment 3 Ivan Furnadjiev CLA 2009-03-16 07:11:52 EDT
Open issues in the implementation:
1. The FormText uses a cache to reduce a number of real layout computation. The layout calculation is a time consuming task - from 10 to 100ms. RAP uses 2 layout cycling because of TextSizeDetermination. In this case the layout is calculated in the first cycle with wrong text sizes (text estimation) and cache prevent to recalculate the layout on the next cycle with correct text determination values. To workaround this the cache is always clear before the FormText layout is done.
2. Wrong MouseEvent x, y coordinates (see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=268235) lead to wrong hyperlink event.
3. Text selection is not implemented.
4. Focus transfer inside the FormText elements (hyperlinks, controls) is not checked.