JDK-8308311 : TextArea: Bhojpuri character disappears when selected
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: jfx21
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-05-17
  • Updated: 2024-04-19
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.
Other
tbdUnresolved
Related Reports
Cloners :  
Description
Using Monkey Tester app (or a simple app that contains an editable TextArea), insert the following string:

Bhojpuri: 𑂦𑂷𑂔𑂣𑂳𑂩𑂲 (\ud804\udca6\ud804\udcb7\ud804\udc94\ud804\udca3\ud804\udcb3\ud804\udca9\ud804\udcb2) 

Click on the beginning of the Bhojpuri word and drag the mouse across it.  
Notice how '𑂩𑂲' character disappears and reappears.  Please see the video clip.

Same thing happens with 
Magahi: 𑂧𑂏𑂯𑂲/𑂧𑂏𑂡𑂲 (\ud804\udca7\ud804\udc8f\ud804\udcaf\ud804\udcb2/\ud804\udca7\ud804\udc8f\ud804\udca1\ud804\udcb2) 
Telugu: తెలుగు (\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41) 

The issue is observed on macOS 13.3.1(a) and Windows 11 (linux not tested).
Comments
On Windows Windows 11 Pro Version 23H2 OS build 22631.3296 Experience Windows Feature Experience Pack 1000.22687.1000.0 I can see Bhojpuri symbols, but selecting them is weird, see attached video clip.
19-04-2024

Can't reproduce this issue anymore on macOS 14.4.1 running FX:23-internal+0-2024-04-15-173922 JDK:21.0.2 I see all the symbols and selection works correctly.
18-04-2024

Looks like there is no appropriate font in my Windows 11 to render Bhojpuri (text shows up as blocks), these blocks still disappear. So yes, the issue is present on Windows as well: https://bugs.openjdk.org/secure/attachment/103873/Screenshot%202023-05-17%20115142.png
17-05-2023

This is likely a graphics bug. Does it happen on all platforms?
17-05-2023