Community
Participate
Working Groups
Reproducible with Controls Demo -> TableViewer Tab and cell editors activated in latest Chrome and Safari: 1. Navigate to a cell in the first table column and press ENTER to activate the cell editor. 2. Edit the cell and apply the value by pressing ENTER again. 3. Press ENTER again to activate the same cell editor - text field contains multiline text ???!!! Probably a bug in WebKit, but we have to find a workaround.
Created attachment 206123 [details] possible fix Ivan, please check if you think this always results in correct behavior when activating text cell editors.
(In reply to comment #1) > Ivan, please check if you think this always results in correct behavior when > activating text cell editors. With the proposed fix applied the problem is still there for me. Controls Demo -> TableViewerTab. Tested with Chrome 15.0.874.102. In Safari 5.1.1 there is no multiline, but the initial text in the field is deleted in some cases by the ENTER key.
It seemed to work for me initially, but now i have the same issue with the empty field.
Created attachment 206125 [details] proposed fix I think this works fine.
(In reply to comment #4) > Created attachment 206125 [details] > proposed fix > > I think this works fine. With this patch the multiline issue with the Text cell editor is fixed. Unfortunately, Combo cell editor (TableViewer second column) still experiencing the same issue.
Created attachment 206134 [details] refised fix The Combo "steals" the focus from Text on the widget level, but still gives it on the DOM level. Therefore the qx key event never gets to the text and the fix cant kick in. Fixed by adding a prevent default to Combo.js key handler.
The latest patch is good for me - both Text and Combo. +1
Applied patch 206134 to CVS HEAD.