Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx

      Description

      The Text class should override getEffectiveNodeOrientation() to return a value based on the content's natural direction (using BIDI algorithm), rather than assume LTR by default. This assumes that getEffectiveNodeOrientation() can be made non-final -- or better yet, be turned into a read-only property so that text input controls can listen to changes that are triggered by user input.

      If the content is empty or contains only direction-neutral characters, then the effective orientation should be based on the nodeOrientation property, but only then.

      If it is absolutely necessary to let applications set the orientation explicitly, then Text would need the ability to track whether nodeOrientation is set explicitly on the node. This is not possible currently. Note that it would not be enough to rely on nodeOrientation being INHERIT as that could also be used as an explicit value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fheidric Felipe Heidrich (Inactive)
                Reporter:
                leifs Leif Samuelsson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: