Bug 578834 - [Win32] Table reports wrong client area width
Summary: [Win32] Table reports wrong client area width
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.23   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-18 10:49 EST by Thomas Singer CLA
Modified: 2022-02-18 10:50 EST (History)
2 users (show)

See Also:


Attachments
Snippet to reproduce (2.09 KB, text/plain)
2022-02-18 10:49 EST, Thomas Singer CLA
no flags Details

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