| Summary: | [Forms] Last lines of lengthy context-sensitive help garbled | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Richard Butner <rbutner> |
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cgold, samuelwu |
| Version: | 4.1 | ||
| Target Milestone: | 3.7 M4 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Richard Butner
Can you attach a screen shot? Created attachment 182989 [details]
Cshelp window where last two lines are garbled
Created attachment 182990 [details]
Same cshelp window resized and now displayed normally
Thanks for the screenshots. Can you also attach a contexts.xml file which includes that context information? Created attachment 183026 [details]
RPT 8.2 (released) cshelp for schedules, built .xml file from plugin .jar file
I can reproduce the problem using the attached contexts file and the context ScheduleOptions_UserLoad on Win XP. Created attachment 183177 [details]
Patch
The problem was occurring in Paragraph.computeRowHeights(). After looping through the segments hloc.collectHeights() sets the height of the row to hloc.rowHeight. If the last ParagraphSegment was a BreakSegment hloc.rowHeight() gets set to zero and two rows get printed in the same location.
Patch applied to HEAD, Fixed A workaround is to eliminate any white space between the end of the description text and the end tag </description> in the contexts file. *** Bug 338943 has been marked as a duplicate of this bug. *** |