| Summary: | [Combo] Causes warning messages in qooxdoo console | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sascha Becher <s.becher> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.3 | ||
| Target Milestone: | 1.3 M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Actually this is not an error, but a warning.... and it is only visible if the client side log level is switched on. (In reply to comment #1) > Actually this is not an error, but a warning.... and it is only visible if the > client side log level is switched on. The warning suggests a wrong order of calling scrollIntoViewY? Maybe this can be fixed, so the console stays clean for really important warnings. I understand that there is no problem in using the ComboViewer at all. Maybe I don't really need the console. Fixed in CVS HEAD. Thank you! |
When using a ComboViewer the default way: this.roleCombo = new ComboViewer(parent, SWT.READ_ONLY); this.roleCombo.setContentProvider(new ActorRoleContentProvider()); this.roleCombo.setLabelProvider(new ActorRoleLabelProvider()); this.roleCombo.setInput(""); //$NON-NLS-1$ this.roleCombo.setSelection(new StructuredSelection(ActorRole.COORDINATOR)); this.roleCombo.getCombo().setLayoutData(ViewGuiFactory.getComboGridData()); I get this error message in the qooxdoo console everytime when making changing the selection of the combo: 006595 WARN: qx.ui.form.ListItem[1258]: The function scrollIntoViewY can only be called after the widget is created! The ComboViewer works as expected. I have reproduced this with a couple of other ComboViewers in the application so it doesn't seem to be a side-effect of a particular view. This happens in FireFox 3.5 and Explorer 7.