RichTextArea: failed to export null color attribute value

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx26
    • Component/s: javafx
    • None
    • Fix Understood

      RichEditorDemo exposed a logical flaw in the RichTextFormatHandler responsible for copy/save/export code. Technically speaking, this is a product bug in the RichTextArea, though it can only be reproduced with RichEditorDemo.

      To reproduce:

      - open RichEditorDemo app
      - type 1, tab, 2, tab, 3
      - select the first line
      - copy (command-C or ctrl-C)
      - paste (command-V or ctrl-V)
      --> nothing gets pasted because the RichEditorDemo toolbar sets the text color to null, which breaks the attribute

      Also, attempt to save this file produces corrupted output.

            Assignee:
            Andy Goryachev
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: