Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357792 - CheckBoxTableViewer shows image in table header
Summary: CheckBoxTableViewer shows image in table header
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 09:08 EDT by Thomas Singer CLA
Modified: 2019-11-14 03:16 EST (History)
2 users (show)

See Also:


Attachments
sample to reproduce the bug (2.02 KB, text/plain)
2011-09-15 09:08 EDT, Thomas Singer CLA
no flags Details
screenshot (4.85 KB, image/png)
2011-09-15 09:10 EDT, Thomas Singer CLA
no flags Details
Snippet showing bug with jface TableViewer (16.58 KB, application/octet-stream)
2011-10-03 03:38 EDT, Peter Lang 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 2011-09-15 09:08:02 EDT
Build Identifier: 3.7.0.v3735b

Please take a look at the attached sample code. If you uncomment this line

//		checkBoxColumn.getColumn().dispose();

and run again, the table header of the remaining column shows the used image.

Reproducible: Always
Comment 1 Thomas Singer CLA 2011-09-15 09:08:50 EDT
Created attachment 203404 [details]
sample to reproduce the bug
Comment 2 Thomas Singer CLA 2011-09-15 09:10:16 EDT
Created attachment 203405 [details]
screenshot
Comment 3 Felipe Heidrich CLA 2011-09-15 09:56:41 EDT
Could please recode this snippet without Jface ?
not sure it is a bug in SWT or Jface...
Comment 4 Remy Suen CLA 2011-09-28 09:38:26 EDT
I was not able to reproduce the problem on Windows XP. I guess it is isolated to Windows 7.
Comment 5 Peter Lang CLA 2011-10-03 03:38:41 EDT
Created attachment 204434 [details]
Snippet showing bug with jface TableViewer

This bug also affects jface TableViewers. Execute the attached snippet and bring up the context menu by right-click on the table columns. If you choose to hide the column "Name" the action performed will be column.dispose(). The image will show up in table header of the new first colum "Male".

eclipse-version used: 3.6.2
plattform: Windows 7 64-bit
Comment 6 Lars Vogel CLA 2019-11-14 03:16:33 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.

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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.