Community
Participate
Working Groups
Build Identifier: I20100608-0911 For long context-sensitive (F1) help entries, where a scroll bar is displayed on the help window, if you scroll to the bottom of the window, the last two lines of context-sensitive help are often displayed on top of each other. Thus, the last two lines are unreadable. This problem is also dependent on the width of the help window. If you resize the help window horizontally to make it wider or narrower, the text will shift back and forth between being displayed correctly and incorrectly. Reproducible: Always Steps to Reproduce: 1. Open context-sensitive help that is so long that a scroll bar is displayed in the help window. 2. Scroll to the bottom of the help window. 3. Grab the control on the side of the help window and move it back and forth to make the window wider or narrower.
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. ***