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

Bug 346573

Summary: Grid.getBorderWidth() does not return correct value in windows
Product: z_Archived Reporter: FDJ <francisjos>
Component: NebulaAssignee: Thomas Schindl <tom.schindl>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cgross, francisjos, laurent.caron, remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description FDJ CLA 2011-05-19 21:48:28 EDT
Build Identifier: 20100917-0705

We are trying to find the width of the Border of the Grid (to calculate the maxHeight of the GridTreeViewer that it encapsulates). We noticed that Grid.getBorderWidth() always returns a value which is way bigger than what it should be. But in Linux, we see that it returns the correct value.

Reproducible: Always

Steps to Reproduce:
Code:
Grid grid = gridTreeViewer.getGrid();
grid.getBorderWidth();

The value returned is not consistent from what it should be.
Comment 1 Laurent CARON CLA 2019-09-25 15:32:43 EDT
Tried today, it seems to be a SWT bug.
Working fine now.