Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77084

QText2DEntity breaks on text change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.14.0 Alpha
    • 5.12.3, 5.13.0
    • Qt3D
    • None
    • Linux/X11
    • bddebae04ef7ccdc3c2b7383aa641dc380318cbc (qt/qt3d/dev)

      The QText2DEntity text breaks visually on repeated calls to setText. I assume the character cache is not regenerated/adjusted correctly? Having many different QText2DEntities works well, but only if the text is never changed using setText.

      Minimal example derived from "simple-qml" example is attached, where the string on screen should change every 10 seconds. Only the first word displays correctly (see screenshot).

        1. settext1.png
          settext1.png
          5 kB
        2. settext2.png
          settext2.png
          4 kB
        3. text2dentity.tar.gz
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            seanharmer Sean Harmer
            bulletsk Falko Kellner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes