<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Is that specific to a Text node? Or what happens if you use a
      Label or similar. And also, is the whole node gone or only the
      text itself, e.g., what happens if you set a background color for
      the node you drag.</p>
    <div class="moz-cite-prefix">On 22/07/2025 22:06, Wagner, Mitchell
      [US-US] wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:SA1P110MB205436F962DE3CCC504D2233C15CA@SA1P110MB2054.NAMP110.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Aptos",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;}div.WordSection1
        {page:WordSection1;}ol
        {margin-bottom:0in;}ul
        {margin-bottom:0in;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Hi all,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">We have an
            urgent JavaFX issue.  Please see the following.  If anyone
            can help or give any help.  Please let me know.<o:p></o:p></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt">Summary:
              <o:p></o:p></span></b></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">OpenJFX:
            Dragged Text Object not shown.<o:p></o:p></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt">Description:<o:p></o:p></span></b></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">We have a
            use case involving the dragging of text across a Stage. To
            support this, we have created a Text object, which is
            registered to the root AnchorPane. The Text Object can be
            dragged freely around the Stage. However, we've encountered
            an issue where the text sometimes fails to render, even
            though the Text Object contains the expected data.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">When the
            mouse click happens, the current action is:<br>
            root.getChildren().remove(dragText);<br>
root.getChildren().add(dragText);                                                                                              <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">This happens
            directly before we start the drag action:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">dragText.startFullDrag();<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><i><span style="font-size:11.0pt">(dragText
              is a Text Object)<o:p></o:p></span></i></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">The dragText
            contains the expected value when the Text object is rendered
            or not. The issue seems to be with rendering of the object.
            When the issue occurs, the JavaFX application must be
            restarted to recover. Have verified:<o:p></o:p></span></p>
        <ul style="margin-top:0in" type="disc">
          <li class="MsoNormal"
            style="margin-left:2.5pt;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">anchor root is valid with correct
              x/y locations<o:p></o:p></span></li>
          <li class="MsoNormal"
            style="margin-left:2.5pt;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">the text node that is being
              dragged is visible/has focus/correct x/y values in
              relation to parent stage<o:p></o:p></span></li>
          <li class="MsoNormal"
            style="margin-left:2.5pt;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">toBack/toFront does not change
              the results<o:p></o:p></span></li>
          <li class="MsoNormal"
            style="margin-left:2.5pt;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">increasing the font to a much
              larger size changed nothing<o:p></o:p></span></li>
          <li class="MsoNormal"
            style="margin-left:2.5pt;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">occurs randomly (with multiple
              application restarts between instances) on both single and
              multiple monitor workstations<o:p></o:p></span></li>
        </ul>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt">Steps to
              reproduce:  <o:p>
              </o:p></span></b></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Drag text
            repeatedly until text does not show up.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Only
            reproducible on physical equipment.  Not currently
            reproducible on Virtual Machines.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Current
            environment is: RHEL 8.10, X11, openJDK: 17.0.12, openJFX:
            17
            <o:p></o:p></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt">Expected
              Results: <o:p></o:p></span></b></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Text should
            always be rendered.<o:p></o:p></span></p>
        <p class="MsoNormal"><b><span style="font-size:11.0pt">Actual
              Results: <o:p></o:p></span></b></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Text is not
            always rendered when dragged.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;mso-ligatures:none">Thanks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;mso-ligatures:none"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#201747;mso-ligatures:none">Mitchell
              Wagner | Leidos<o:p></o:p></span></b></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-ligatures:none">Lead
            Software Engineer | Civil<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-ligatures:none">phone:
            609.272.2051<br>
          </span><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-ligatures:none"><a
              href="mailto:mitchell.z.wagner@leidos.com"
              moz-do-not-send="true"><span style="color:gray">mitchell.z.wagner@leidos.com</span></a></span><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-ligatures:none">
             |  </span><span style="font-size:11.0pt;mso-ligatures:none"><a
              href="http://www.leidos.com/civil" moz-do-not-send="true"><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray">leidos.com/civil</span></a></span><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:gray;mso-ligatures:none"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
  </body>
</html>