Bug 578834

Summary: [Win32] Table reports wrong client area width
Product: [Eclipse Project] Platform Reporter: Thomas Singer <ts-swt>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: alexandr.miloslavskiy, ts-swt
Version: 4.23   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Snippet to reproduce none

Description Thomas Singer CLA 2022-02-18 10:49:14 EST
Please run the attached snippet. It sets the single column's width to the clientArea's width - one time after the table has been resized, but not yet shown, and another one when painting. Without the latter, a horizontal scroll bar is shown because the column was set too wide (maybe the width of the vertical scrollbar was not detected correctly).

Note, that the call

  table.setVisible(false);

is also important. Maybe this bug is an aftereffect of bug 578833.
Comment 1 Thomas Singer CLA 2022-02-18 10:49:46 EST
Created attachment 288077 [details]
Snippet to reproduce