Community
Participate
Working Groups
Steps to reproduce: 1. Change Controls Demo -> TableViewerTab#LastNameEditingSupport, line 284 to SWT.READ_ONLY to make the ComboBoxCellEditor in read-only mode. 2. Start in IE the Controls Demo - TableViewerTab and activate the cell editors. 3. Try to edit the second column - javascript error appears: Invalid argument. See the newsgroup post for more details. The suspicion is the FocusIndicator, which tries to apply negative values (bounds) on the DOM in IE.
*** Bug 312549 has been marked as a duplicate of this bug. ***
Created attachment 168106 [details] fix Fix for FocusIndicator.js. This solution should work, but is not entirely satisfying for several reasons: 1. The method to find out the "future" dimension of the widget (getBoxWidth/Height) is tedious and error-prone (as has just been proven). An alternative would be preferable. 2. Its unclear to me why i need to invalidate the dimensions after i got them - there should be no changes after the focus indicator is applied, AND qooxdoo should be smart enough to recompute them in the job-queue. Still, it breaks the layout if i don't. 3. We can currently write no useful tests for FocusIndicator because it directly uses the themeStore to get its values.
Applied patch to CVS HEAD