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

Bug 330633

Summary: [Grid] Grid horizontal scroll does not account for columns that are not visible
Product: z_Archived Reporter: Charles Eutsler <charles.eutsler>
Component: NebulaAssignee: Johannes Faltermeier <jfaltermeier>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cgross, laurent.caron, wim.jongman
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/93012
https://git.eclipse.org/c/nebula/org.eclipse.nebula.git/commit/?id=87a9e43cf6b4b404b8ffa118b7fc6eece2a2062b
Whiteboard:
Attachments:
Description Flags
Patch for the scrolling problem none

Description Charles Eutsler CLA 2010-11-18 19:50:05 EST
Build Identifier: 20100617-1415

If a Grid contains a GridColumnGroup and the group is collapsed, the widths of the columns whose isVisible() method returns false are included by getHScrollSelectionInPixels()in its calculation of the number of pixels to scroll.

Reproducible: Always

Steps to Reproduce:
1. Create a Grid with one or more GridColumnGroups.
2. Collapse the GridColumnGroup
3. Observe that the horizontal scrolling doesn't scroll correctly after the last visible column in the collapsed GridColumnGroup
Comment 1 Charles Eutsler CLA 2010-11-18 19:51:12 EST
Created attachment 183445 [details]
Patch for the scrolling problem
Comment 2 Eclipse Genie CLA 2017-03-14 07:37:24 EDT
New Gerrit change created: https://git.eclipse.org/r/93012
Comment 4 Laurent CARON CLA 2019-09-22 08:59:41 EDT
Bug fixed but never closed