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

Bug 331673

Summary: Resizing a native header column show scrollbars
Product: z_Archived Reporter: Christophe Fondacci <christophefondacci>
Component: NebulaAssignee: Dave Orme <djo>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: laurent.caron, tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=174469
Whiteboard:

Description Christophe Fondacci CLA 2010-12-02 09:28:48 EST
Build Identifier: 1.0.0 (CVS HEAD checkout)

When using AbstractNativeHeader, resizing a column shows a horizontal scroll bar on the header during the resize (=while mouseDown). This is pretty ugly. The scrollbar disappear when the mouse button is released.

This bug might be a duplicate of 174469. I created a new one because the latter mentioned "initially shows scrollbar", but this is not what happens on Cocoa.


The fix is simple :
In the file AbstractNativeHeader, you have to replace line 61 from :
headerTable = new Table(this, SWT.NULL);

to :

headerTable = new Table(this, SWT.NO_SCROLL);

And it seems to fix the problem.

Reproducible: Always

Steps to Reproduce:
Run CompositeTableSnippet5 on linux gtk or Mac cocoa.
Resize a column.
Comment 1 Laurent CARON CLA 2019-04-28 12:01:16 EDT
Tried today on Ubuntu, no problem found.
Carbon is deprecated, so I close this bug.