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

Bug 364172

Summary: [Scrollbar] Sends "NaN" as "topItemIndex" after _layoutPost
Product: [RT] RAP Reporter: Stephan Leicht Vogt <stephan.leichtvogt>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M4   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch to fix the described problem tbuschto: iplog+

Description Stephan Leicht Vogt CLA 2011-11-18 10:52:59 EST
Created attachment 207229 [details]
Patch to fix the described problem

Sometimes _maximum can be the same as idealLength in the method _layoutPost (Line 151 of ScrollBar.js). I didn't find out how that can happen and how I could write a test in ScrollBarTest.js.

I'll attach a fix patch.
Comment 1 Tim Buschtoens CLA 2011-11-22 12:02:54 EST
Committed patch with minor modification to CVS HEAD and added a Test.