JDK-8090058 : Issues with WebView and Aloha Editor integration
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 7u15,7u25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2013-07-01
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Aloha Editor is a JS-based HTML editor (aloha-editor.org). It works properly e.g. in WebKit-based browsers such as Google Chrome. With WebView (JavaFX 2.2.7, co-bundled with JDK 1.7.0_17) there are problems with caret positioning during editing, selection of text causes the selected test to appear "shifted" with respect to the original, and other quirks that make it unusable.

I don'k know whether this bug is possibly related with RT-18883.
Comments
To be more precise, there are improvements, but it's not enough. The caret is precisely positioned, but the text is still not properly edited. ** Well, forget this comment. The small improvements were already present in the previous 8 ea I tried.
31-08-2013

I've tried 8b104 with Mac OS X and it doesn't work - same problem as before. I'm going to try with Linux as soon as possible. The project where the problem occurs is FLOSS and can be shared. Let me know whether you need it.
31-08-2013

Those issues have been resolved as part of RT-24772. Checked on Linux using 8b102 and their demo at http://aloha-editor.org/
09-08-2013

Also tried with JDK 8 1.8.0-ea-b99 and its cobundled JavaFX 8.0.0-ea. The rendering is now good and when I select some text the selection doesn't shift. Edits such as inserting or removing characters in the middle of a word work; but applying style changes (e.g. bold or italic) still "eats" portions of the text. .
23-07-2013

Can be reproduced also with 2.2.25 (co-bundled with JDK 1.7.0_25).
01-07-2013