JDK-8125160 : Text orientation not always inherit
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2012-11-29
  • Updated: 2015-06-17
  • Resolved: 2012-12-20
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 :  
Relates :  
Relates :  
Relates :  
Description
If some change in the node causes a impl_transformsChanged()  before the node has a parent, is possible the orientation in the parent will not be propagated to the text node.

Example:
   public void start(Stage stage) {
       Pane pane = new Pane();
       pane.setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT);
       Text text1 = new Text("text1.");
       text1.setLayoutX(20); //this sets transform changed
       text1.setLayoutY(20);
       pane.getChildren().addAll(text1);//transform changed wont be called again
       //poking the node fixes it, try uncommenting:
//       text1.setLayoutY(text1.getLayoutY()+1);
       Scene s = new Scene(pane, 200, 200);
       stage.setScene(s);
       stage.show();
   }
Comments
http://jfxsrc.us.oracle.com/javafx/8.0/scrum/graphics/rt/rev/1a2aba8c37d3
20-12-2012

The nice fix for text is to call checkOrientation() (see patch) in the invalidated of the effective property changed (or some impl_effectiveOrientationChanged helper)
29-11-2012