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

Bug 289430

Summary: [Table] ComboBoxCellEditor has to take the place of its neighbour column sometimes
Product: [RT] RAP Reporter: Wen Ai <wen.ai>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot 1
none
screenshot 2
none
screenshot 3 none

Description Wen Ai CLA 2009-09-15 04:48:16 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
Build Identifier: 

The ComboBoxCellEditor takes sometimes more place for its dropdownlist than it really has, so it must display the dropdownlist also on the neighbour column. 

Reproducible: Always

Steps to Reproduce:
1. open the tab "TableViewer" in the rap demo
2. click the button "Create Cell Editor" and let all of the rows editable.
3. choose a cell in the column "Last Name" and activate the ComboBoxCellEditor.
4. In screenshot 1 you will see the width of dropdownlist ist the maximal width among all the subitems in the list.
5. If you resize the width of this column untill you could see the screenshot 2. The dropdownlist has to take the place of the neighbour column. That's something wrong. 

Getestet with the rap cvs head.    



Another Question: Is the screenshot 3 in rap realizable? The dropdownlist could take the maximal width of all the subitems and the display text has a thinner width, just like the column width.
Comment 1 Wen Ai CLA 2009-09-15 04:49:07 EDT
Created attachment 147164 [details]
screenshot 1
Comment 2 Wen Ai CLA 2009-09-15 04:49:26 EDT
Created attachment 147165 [details]
screenshot 2
Comment 3 Wen Ai CLA 2009-09-15 04:49:43 EDT
Created attachment 147166 [details]
screenshot 3
Comment 4 Ivan Furnadjiev CLA 2009-09-24 08:30:54 EDT
I've just check it in SWT. The only difference from SWT is shown on your screenshot 3 - in RAP the ccombo-list width is always equals to ccombo width, but not to the wider list item. When the column width is too tight, the combo take place in the  neighbour column in both RAP and SWT.
Comment 5 Ivan Furnadjiev CLA 2009-09-24 10:17:54 EDT
I've created a new bug 290410 for Combo-list width and will close this as INVALID, bacause the original issue is invalid.