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

Bug 293683

Summary: [TableViewer] Could not open the ComboBoxCellEditor correctly by the first click on the table
Product: [RT] RAP Reporter: Wen Ai <wen.ai>
Component: JFaceAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: All   
OS: All   
Whiteboard:

Description Wen Ai CLA 2009-10-29 11:36:06 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.15) Gecko/2009101601 Firefox/3.0.15 (.NET CLR 3.5.30729)
Build Identifier: 

The ComboBoxCellEditor couldn't be opened correctly if you trying this on the table at first time. The TextCellEditor, CheckBoxCellEditor seem to be ok.

This problem can be observed in the Controls-Demo of RAP 1.3M2 and with CVS HEAD(2009-10-29 17:00 german time).



Reproducible: Always

Steps to Reproduce:
1. open the tab "TableViewer" in the demo.
2. click the button "Create Cell Editor".
3. choose an editable row and click for example the column "Last Name" with the ComboBoxCellEditor 
4. the ComboBoxCellEditor could show up for a second and then disappear quickly.
5. you should try this again until you could use the editor to change the cell value.
Comment 1 Ivan Furnadjiev CLA 2009-11-02 05:54:29 EST
Fixed by checking for isSeeable() instead of isMeterialized() in WidgetManager.js#focus().