| Summary: | CellEditor not deactivating on table | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Chris Fairhall <chris> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | chris | ||||
| Version: | 1.3 | ||||||
| Target Milestone: | 1.5 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Chris Fairhall
Created attachment 182844 [details]
IEntryPoint to reproduce the issue
Forgot to add, happens in IE6 and IE8. Doesn't happen in Firefox. No other browsers tested. I did some more testing with the attached snippet and I can reproduce it in IE only too. Tested with FF 3.6.12, Chrome 7, Opera 10.63 and Safari 5.02 on Windows 7. There is a workaround available Wrapping the code in the selection listener in a Display.getCurrent().timerExec(int, Runnable) will make the cell editors behave normally. asyncExec is not enough to fix the problem. A timerExec with 1ms delay works This bug is valid with IE9 too. This is a client-side issue only. When you switch the folder tabs with activated (visible) cell editor control the following javascript is rendered: var w = wm.findWidgetById( "w9" );w.setVisibility( false ); -> this is the Table var w = wm.findWidgetById( "w14" );w.setVisibility( false ); -> this is the Text (cell editor) This shows that we set the visibility to false on the widget (Text), which parent is already invisible (Table). IE is well known to behave strange in such a cases - modify property on a div which parent is invisible. I can't reproduce the issue anymore with the current CVS HEAD. Tested with IE9 and IE8. We fixed couple of similar issues in IE recently. Please reopen if the bug persists with CVS HEAD. |