OpenESignForms / vaadin-ckeditor

Vaadin component wrapper around CKEditor
4 stars 11 forks source link

Safari context-menu disappears if editor widget registers BLUR/FOCUS event listeners #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create the editor widget, along with a vaadin button to submit changes.
2. Make the button have a click shortcut for Keycode.ENTER.
3. Add focus and blur event handlers to the editor widget so that on FOCUS the 
KeyCode.ENTER is removed and on BLUR it's added back in.
4. Right-click in the editor to bring up context menus, do copy/paste 
operations, etc.
5. Test with a Safari browser.

What is the expected output? What do you see instead?
Expect to see the context menu appear, but instead it appears and disappears. 
When we added debug statements for the focus/blur events we noted that the 
editor can sometimes fail to fire the focus event when the mouse is put inside.

KNOWN ISSUE: When the editor's blur delay is set at 70msecs, this does not 
appear to be an issue for this scenario, but reports from users that sometimes 
clicks to the button didn't send the latest editor contents to the server was 
worse (see issue 26)

Original issue reported on code.google.com by yoz...@gmail.com on 10 Feb 2013 at 5:59

GoogleCodeExporter commented 9 years ago
Issue 24 has been merged into this issue.

Original comment by yoz...@gmail.com on 10 Feb 2013 at 6:00

GoogleCodeExporter commented 9 years ago
This may be fixed when CKEditor 4.2 comes out with support for an onchange 
event rather than our hacks to determine if the editor has changed using blur 
events.

Original comment by yoz...@gmail.com on 19 Mar 2013 at 6:06

OpenESignForms commented 8 years ago

Closed for lack of info or direction.