| Summary: | JavaScript Error after pressing page up/down in active combo box cell editor | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sabine Neubauer <neubauer> | ||||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P2 | CC: | tbuschto | ||||||||
| Version: | 1.4 | ||||||||||
| Target Milestone: | 1.5 M1 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | sr141 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Sabine Neubauer
Created attachment 199653 [details] Test project for reproducing Test project containing a view with table viewer having ComboBoxCellEditors based on the following jface snippet: http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet027ComboBoxCellEditors.java?view=markup Reproducible with Controls Demo -> Combo Tab too. It seems that this is a very old bug. Just checked with 1.3 release and it is there, but the error is only shown in browser javascript error console. With the fix for bug 334758 these hidden javascript errors now surfaced. The actual error is in qx.ui.selection.SelectionManager.js#getPageUp/getPageDown when calling getScrollTop/getClientHeight on non created widget. Fixed in CVS HEAD in qx.ui.selection.SelectionManager.js#getPageUp/getPageDown by checking if vBoundedWidget is created before start the calculation. JS test added. Created attachment 199980 [details]
Proposed patch for v14_Maintenance branch
Same fix as the one committed in CVS HEAD.
I adapt the patch (fragment q07) and apply it to our used RAP plugins based on RAP 1.4 Maintenance branch. The error does not occur anymore. Thanks for the patch. Created attachment 200059 [details] Proposed patch for v14_Maintenance branch (In reply to comment #7) > I adapt the patch (fragment q07) ... Sorry for the trouble... my fault (the patch was against HEAD). This is the same patch against v14_Maintenance branch - no need to adapt it anymore. Applied patch to v14_Maintenance branch. Commited patch to v14_Tree_Table_Merge branch. |