Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325247 - [Widgets] Should TableColumn width include the checkbox column width?
Summary: [Widgets] Should TableColumn width include the checkbox column width?
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lakshmi P Shanmugam CLA
QA Contact: Scott Kovatch CLA
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-09-14 09:16 EDT by Lakshmi P Shanmugam CLA
Modified: 2021-03-02 04:05 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi P Shanmugam CLA 2010-09-14 09:16:25 EDT
Build Id: I20100913-1800

There is inconsistent behavior in TableColumn on windows, Gtk and cocoa. On windows & Gtk the checkbox is part of the first column, so the column width includes the checkbox. On cocoa, we use a separate checkbox column, the width of the first table column doesn't include the checkbox column width. May be the  TableColumn width should include the checkbox column width on cocoa too?

Steps:
1) Run snippet 311
2) Right click on the header and deselect Name from the menu
3) The Name column's width is set to 0, the first column should disappear. But the checkbox column remains and also it has the column name.
Comment 1 Scott Kovatch CLA 2010-09-14 18:28:53 EDT
For consistency's sake, yes, the check column should be considered part of the first column. TableColumns currently don't pay attention to which column they are in the table, so set/getWidth will need to check for that.
Comment 2 Eclipse Genie CLA 2019-03-11 03:44:27 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Lakshmi P Shanmugam CLA 2019-03-12 05:55:36 EDT
This is still problem.
Comment 4 Eclipse Genie CLA 2021-03-02 04:05:27 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.