Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 112502 - [TabbedProperties] Properties view doesn't scroll normally
Summary: [TabbedProperties] Properties view doesn't scroll normally
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.4.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 11:18 EDT by Anthony Hunter CLA
Modified: 2008-07-03 16:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Hunter CLA 2005-10-13 11:18:27 EDT
Select the Properties tab.

Resize the entire Eclipse window so it's around 1200 pixels wide and the 
horizontal scroll bar appears at the bottom of the properties view.

Now click to the right of the "thumb" that's on display in the properties view 
(that is, click in the "space" between the thumb and the scroll right button.  
The view should scroll "one page" to the right.  Under most circumstances, 
this would scroll the entire view such that the right edge of the view is on 
display.  Instead, we seem to scroll a fixed interval of around 20 pixels or 
so.   It appears we're treating "scroll a page" as if it was the same as 
clicking on the "scroll right button" (which eqaully appears to scroll around 
20 pixels).

Note that all other views that I've tried are correctly scrolling "a page" in 
this case.
Comment 1 Anthony Hunter CLA 2008-07-03 16:55:26 EDT
Fixed. We were correctly calling setMinSize() on the scrolled composite as shown in the SWT snippet. We were missing calls to setPageIncrement() on the scrollbars however. There is a code snippet in UI forms I used as the basis of the fix.
 
Committed to R3_4_maintenance and HEAD.