JDK-8128600 : HTMLEditor Justify button does nothing
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: fx2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2011-10-03
  • Updated: 2015-06-17
  • Resolved: 2013-02-18
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.
JDK 8
8Fixed
Related Reports
Blocks :  
Blocks :  
Description
In Ensemble:

  Choose HTMLEditor Sample
  Click inside sample text paragraph
  Click Justify button

Nothing happens.

Other alignment buttons (left/right align and center) work.
Comments
Fixed by switching to glyph based rendering (RT-24772).
18-02-2013

The command is being sent, and in the html, but it looks like webview has it wrong. Will re-assign to webview for further review.
31-07-2012

Affected tests: ControlsAutomatedTestSuite/javafx/scene/control/test/richtexteditor/RichTextEditorTest/alignmentTest
30-07-2012

From Vasiliy When I click "Justify" in HTMLEditor, namely, the cursor changes the position unless the current line occupies the entire width or is the last line of the paragraph. Also, if I open TinyMCE in Browser, go to some text, and click "Align Full", not only the cursor changes its position but sometimes the line tries to justify itself by increasing the width of one or two "whitespaces", but that does not look correct either. This works just fine in other browsers. Anyway, this is clearly a bug in WebView, and I am almost sure it is caused by http://javafx-jira.kenai.com/browse/RT-11239.
13-10-2011