Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4200

Text eliding doesn't work with distance field rendering disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt 3D Studio 2.7
    • Fix Version/s: Qt 3D Studio 2.8
    • Component/s: OpenGL Runtime
    • Labels:
      None

      Description

      To show the problem, example project was created (could be found in attachments).

      This project just shows connected Qt 3D Studio presentation.
      This presentation contains text label only.
      This text label has fixed width, contains a long text string. Eliding set as ElideRight

      Test 1 precondition:
      Line 11 in main.cpp (qputenv("Q3DS_DISTANCE_FIELD_DISABLED", "1") is commented.

      Test 1:
      1. Build and run project(Release)

      Expected result: Text label is displayed in window. Text string is elided.
      Actual result: As expected. (screenshot in attachments)

      Test 2 precondition:
      Line 11 in main.cpp (qputenv("Q3DS_DISTANCE_FIELD_DISABLED", "1") is uncommented.

      Test 2:
      1. Build and run project(Release)

      Expected result: Text label is displayed in window. Text string is elided.
      Actual result: Text label is displayed in window. Text string is not elided. (screenshot in attachments)

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              mbulanov Mikhail Bulanov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes