-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: jfx26
-
Component/s: javafx
-
b04
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8378196 | jfx26.0.1 | Andy Goryachev | P4 | Resolved | Fixed | b02 |
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.
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.
- backported by
-
JDK-8378196 RichTextArea: failed to export null color attribute value
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jfx26u/019249d6
-
Commit(master)
openjdk/jfx/42fc5255
-
Review(master)
openjdk/jfx26u/9
-
Review(master)
openjdk/jfx/2067