Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330633 - [Grid] Grid horizontal scroll does not account for columns that are not visible
Summary: [Grid] Grid horizontal scroll does not account for columns that are not visible
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Johannes Faltermeier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 19:50 EST by Charles Eutsler CLA
Modified: 2021-07-05 11:40 EDT (History)
3 users (show)

See Also:


Attachments
Patch for the scrolling problem (1.43 KB, patch)
2010-11-18 19:51 EST, Charles Eutsler CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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