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

Bug 228955

Summary: Scroll bar appears when you shouldn't
Product: [Tools] GEF Reporter: Alex Boyko <aboyko>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, hudsonr
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alex Boyko CLA 2008-04-25 17:23:10 EDT
1. Create a new GEF example diagram (geoshape for example).
2. Put a shape on the diagram.
3. Drag and drop the shape on the left or on the top from the current viewable area, i.e. shape gets negative x and/or y coordinates.
4. Note that the scroll bar has appeared, although it most likely shouldn't be present, since there is only 1 shape on the diagram the size of which is smaller then the size of the viewport.
Comment 1 Randy Hudson CLA 2008-05-08 12:52:02 EDT
This is intentional. It might be less confusing to the user if the "page" were rendered starting at (0, 0), so you could see its size and understand why the "page size" (which has a minimum size of the viewport client area by default) is causing the scrollbars to appear.
Comment 2 Alex Boyko CLA 2008-05-08 13:07:57 EDT
If the behavior is intentional then the defect is invalid